Exception: OmfEc::DSL::OEDLCommandException
- Inherits:
-
OEDLException
- Object
- StandardError
- OEDLException
- OmfEc::DSL::OEDLCommandException
- Defined in:
- omf_ec/lib/omf_ec/dsl.rb
Instance Attribute Summary (collapse)
-
- (Object) cmd
readonly
Returns the value of attribute cmd.
Instance Method Summary (collapse)
-
- (OEDLCommandException) initialize(cmd, msg = nil)
constructor
A new instance of OEDLCommandException.
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 |