Class: ZombieCheck::Ping::PingSender
- Inherits:
-
Object
- Object
- ZombieCheck::Ping::PingSender
- Defined in:
- lib/zombie_check/ping/ping_sender.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(host) ⇒ PingSender
constructor
A new instance of PingSender.
- #send ⇒ Object
Constructor Details
#initialize(host) ⇒ PingSender
Returns a new instance of PingSender.
7 8 9 10 |
# File 'lib/zombie_check/ping/ping_sender.rb', line 7 def initialize(host) @host = host @duration = nil end |
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
5 6 7 |
# File 'lib/zombie_check/ping/ping_sender.rb', line 5 def duration @duration end |
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/zombie_check/ping/ping_sender.rb', line 5 def host @host end |
Instance Method Details
#send ⇒ Object
12 13 14 |
# File 'lib/zombie_check/ping/ping_sender.rb', line 12 def send raise "Not implemented" end |