Class: ArcadiaContract::TObj
- Inherits:
-
Object
- Object
- ArcadiaContract::TObj
- Defined in:
- ext/ae-rad/ae-rad-libs.rb
Constant Summary collapse
- DEFAULT_CHANNEL =
'0'
Instance Attribute Summary collapse
-
#caused_by ⇒ Object
Returns the value of attribute caused_by.
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#sender ⇒ Object
readonly
Returns the value of attribute sender.
Instance Method Summary collapse
-
#initialize(_sender, _args = nil) ⇒ TObj
constructor
A new instance of TObj.
Constructor Details
#initialize(_sender, _args = nil) ⇒ TObj
Returns a new instance of TObj.
923 924 925 926 927 928 929 930 931 932 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 923 def initialize(_sender, _args=nil) @sender=_sender @channel = DEFAULT_CHANNEL if _args _args.each do |key, value| self.send(key+'=', value) end end end |
Instance Attribute Details
#caused_by ⇒ Object
Returns the value of attribute caused_by.
920 921 922 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 920 def caused_by @caused_by end |
#channel ⇒ Object
Returns the value of attribute channel.
921 922 923 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 921 def channel @channel end |
#sender ⇒ Object (readonly)
Returns the value of attribute sender.
919 920 921 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 919 def sender @sender end |