Exception: OmfEc::DSL::OEDLCommandException

Inherits:
OEDLException
  • Object
show all
Defined in:
omf_ec/lib/omf_ec/dsl.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (OEDLCommandException) initialize(cmd, msg = nil)

Returns a new instance of OEDLCommandException



38
39
40
41
42
# File 'omf_ec/lib/omf_ec/dsl.rb', line 38

def initialize(cmd, msg = nil)
  @cmd = cmd
  msg ||= "Illegal command '#{cmd}' unsupported by OEDL"
  super(msg)
end

Instance Attribute Details

- (Object) cmd (readonly)

Returns the value of attribute cmd



37
38
39
# File 'omf_ec/lib/omf_ec/dsl.rb', line 37

def cmd
  @cmd
end