Class: Telegraph::Pong

Inherits:
Object
  • Object
show all
Defined in:
lib/telegraph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Pong

Returns a new instance of Pong.



21
22
23
# File 'lib/telegraph.rb', line 21

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



19
20
21
# File 'lib/telegraph.rb', line 19

def value
  @value
end