class Cogibara::Message
Attributes
clientID[R]
structure[RW]
text[R]
Public Class Methods
new(text="", clientID=-1,structure=Hash.new)
click to toggle source
# File lib/cogibara/message.rb, line 7 def initialize(text="", clientID=-1,structure=Hash.new) @text = text @structure = structure @clientID = clientID end
Public Instance Methods
become_clone!(msg)
click to toggle source
# File lib/cogibara/message.rb, line 13 def become_clone!(msg) @text = msg.text @structure = msg.structure @clientID = msg.clientID end