Class: IrPtz::IrCommandRecorder
- Inherits:
-
Object
- Object
- IrPtz::IrCommandRecorder
- Defined in:
- lib/ir_ptz/ir_command_recorder.rb
Defined Under Namespace
Classes: BlankException, Command
Class Method Summary collapse
Class Method Details
.record ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/ir_ptz/ir_command_recorder.rb', line 14 def self.record command = nil title = get_title key = get_key code = get_ir_code @command = Command.new(title, key, code) end |