Module: Rdpl::Commandable

Included in:
Job, Label
Defined in:
lib/rdpl.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#command(param) ⇒ Object

Raises:



12
13
14
15
# File 'lib/rdpl.rb', line 12

def command(param)
  raise EndedElementError if self.state == :finished
  @contents << STX << param << NEW_LINE
end