Method: Castaway::Range#end_scene=

Defined in:
lib/castaway/range.rb

#end_scene=(title) ⇒ Object

Raises:

  • (ArgumentError)


63
64
65
66
67
# File 'lib/castaway/range.rb', line 63

def end_scene=(title)
  scene = @production.scene(title)
  raise ArgumentError, "no scene named #{title.inspect}" unless scene
  self.end_time = scene.finish
end