Class: MsgEvent

Inherits:
ArcadiaEvent show all
Defined in:
lib/a-contracts.rb

Overview

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

       Message event (raised only by Arcadia)
       to raise use: 
       Arcadia.new_msg
       Arcadia.new_debug_msg
       Arcadia.new_error_msg
+---------------------------------------------+

Instance Attribute Summary collapse

Attributes inherited from Event

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

Method Summary

Methods inherited from Event

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

Constructor Details

This class inherits a constructor from Event

Instance Attribute Details

#levelObject

Returns the value of attribute level.



180
181
182
# File 'lib/a-contracts.rb', line 180

def level
  @level
end

#msgObject

Returns the value of attribute msg.



180
181
182
# File 'lib/a-contracts.rb', line 180

def msg
  @msg
end