Module: RDKit::SimpleCommands
- Included in:
- RESPResponder
- Defined in:
- lib/rdkit/simple_commands.rb
Instance Method Summary collapse
Instance Method Details
#echo(message) ⇒ Object
7 8 9 |
# File 'lib/rdkit/simple_commands.rb', line 7 def echo() end |
#ping ⇒ Object
3 4 5 |
# File 'lib/rdkit/simple_commands.rb', line 3 def ping 'PONG' end |
#time ⇒ Object
11 12 13 14 15 |
# File 'lib/rdkit/simple_commands.rb', line 11 def time t = Time.now [t.to_i, t.usec].map(&:to_s) end |