Class: Telegraph::Ping
- Inherits:
-
Object
- Object
- Telegraph::Ping
- Defined in:
- lib/telegraph.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Ping
constructor
A new instance of Ping.
Constructor Details
#initialize(value) ⇒ Ping
Returns a new instance of Ping.
13 14 15 |
# File 'lib/telegraph.rb', line 13 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
11 12 13 |
# File 'lib/telegraph.rb', line 11 def value @value end |