Class: BigWig::Pinger
- Inherits:
-
Object
- Object
- BigWig::Pinger
- Defined in:
- lib/bigwig/pinger.rb
Instance Method Summary collapse
-
#initialize(command_line) ⇒ Pinger
constructor
A new instance of Pinger.
- #run ⇒ Object
Constructor Details
#initialize(command_line) ⇒ Pinger
Returns a new instance of Pinger.
3 4 5 |
# File 'lib/bigwig/pinger.rb', line 3 def initialize command_line @push = Push.new command_line end |
Instance Method Details
#run ⇒ Object
7 8 9 |
# File 'lib/bigwig/pinger.rb', line 7 def run @push. 'ping' end |