Class: RTunnel::PingCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/cmds.rb

Constant Summary

Constants inherited from Command

Command::CLASSES_TO_CODES, Command::CODES_TO_CLASSES

Class Method Summary collapse

Methods inherited from Command

#to_s

Class Method Details

.match(data) ⇒ Object



151
152
153
# File 'lib/cmds.rb', line 151

def self.match(data)
  true
end

.parse(data) ⇒ Object



147
148
149
# File 'lib/cmds.rb', line 147

def self.parse(data)
  PingCommand.new
end