Class: Telegraph::Pong
- Inherits:
-
Object
- Object
- Telegraph::Pong
- Defined in:
- lib/telegraph.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Pong
constructor
A new instance of Pong.
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
#value ⇒ Object (readonly)
Returns the value of attribute value.
19 20 21 |
# File 'lib/telegraph.rb', line 19 def value @value end |