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.



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_byObject

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

#channelObject

Returns the value of attribute channel.



921
922
923
# File 'ext/ae-rad/ae-rad-libs.rb', line 921

def channel
  @channel
end

#senderObject (readonly)

Returns the value of attribute sender.



919
920
921
# File 'ext/ae-rad/ae-rad-libs.rb', line 919

def sender
  @sender
end