Class: ArcadiaContract::TObj

Inherits:
Object
  • Object
show all
Defined in:
ext/ae-rad/ae-rad-libs.rb

Constant Summary collapse

DEFAULT_CHANNEL =
'0'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_sender, _args = nil) ⇒ TObj

Returns a new instance of TObj.



915
916
917
918
919
920
921
922
923
924
# File 'ext/ae-rad/ae-rad-libs.rb', line 915

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_byObject

Returns the value of attribute caused_by.



912
913
914
# File 'ext/ae-rad/ae-rad-libs.rb', line 912

def caused_by
  @caused_by
end

#channelObject

Returns the value of attribute channel.



913
914
915
# File 'ext/ae-rad/ae-rad-libs.rb', line 913

def channel
  @channel
end

#senderObject (readonly)

Returns the value of attribute sender.



911
912
913
# File 'ext/ae-rad/ae-rad-libs.rb', line 911

def sender
  @sender
end