Module: Card::Set::Event::Api

Included in:
Card::Set
Defined in:
lib/card/set/event.rb

Instance Method Summary collapse

Instance Method Details

#event(event, stage_or_opts = {}, opts = {}, &final) ⇒ Object



18
19
20
# File 'lib/card/set/event.rb', line 18

def event event, stage_or_opts={}, opts={}, &final
  Event.new(event, stage_or_opts, opts, self, &final).register
end