Method: CEML::Cast#initialize

Defined in:
lib/ceml/models/cast.rb

#initialize(castable, first_guy) ⇒ Cast

Returns a new instance of Cast.



11
12
13
14
15
# File 'lib/ceml/models/cast.rb', line 11

def initialize(castable, first_guy)
  @castable = castable
  @castings = Hash.new{ |h,k| h[k] = Set.new }
  cast first_guy
end