Class: Quit
Instance Attribute Summary collapse
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(time) ⇒ Quit
constructor
A new instance of Quit.
Methods inherited from Packet
Constructor Details
#initialize(time) ⇒ Quit
Returns a new instance of Quit.
58 59 60 |
# File 'lib/packet.rb', line 58 def initialize(time) @time = time end |
Instance Attribute Details
#time ⇒ Object
Returns the value of attribute time.
57 58 59 |
# File 'lib/packet.rb', line 57 def time @time end |