Exception: OmfEc::DSL::OEDLCommandException
- Inherits:
-
OEDLException
- Object
- StandardError
- OEDLException
- OmfEc::DSL::OEDLCommandException
- Defined in:
- lib/omf_ec/dsl.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
Instance Method Summary collapse
-
#initialize(cmd, msg = nil) ⇒ OEDLCommandException
constructor
A new instance of OEDLCommandException.
Constructor Details
#initialize(cmd, msg = nil) ⇒ OEDLCommandException
Returns a new instance of OEDLCommandException.
38 39 40 41 42 |
# File '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
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
37 38 39 |
# File 'lib/omf_ec/dsl.rb', line 37 def cmd @cmd end |