Class: BigWig::Pinger

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

Instance Method Summary collapse

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

#runObject



7
8
9
# File 'lib/bigwig/pinger.rb', line 7

def run
  @push.message 'ping'
end