Method: Acting::Actor#initialize
- Defined in:
- lib/acting.rb
#initialize(actor, role) ⇒ Actor
Returns a new instance of Actor.
60 61 62 63 64 |
# File 'lib/acting.rb', line 60 def initialize(actor, role) raise "#{actor.inspect} not kind of Acting::Cast" unless actor.kind_of? Cast @actor = actor @role = role end |