Class: ArcadiaEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/a-contracts.rb

Overview

------------------------------------------

Arcadia Event

------------------------------------------

Constant Summary

Constants inherited from Event

Event::FLAG_DEFAULT, Event::FLAG_ERROR

Instance Attribute Summary

Attributes inherited from Event

#channel, #flag, #parent, #results, #sender, #time

Instance Method Summary collapse

Methods inherited from Event

#add_finalize_callback, #add_result, #break, #initialize, #is_breaked?

Constructor Details

This class inherits a constructor from Event

Instance Method Details

#go!Object

note–they all have attr_accessor :file, and :dir



16
17
18
# File 'lib/a-contracts.rb', line 16

def go!
  Arcadia.process_event(self)
end

#shot!Object



20
21
22
# File 'lib/a-contracts.rb', line 20

def shot!
  Arcadia.broadcast_event(self)
end