Exception: OmfEc::DSL::OEDLUnknownProperty
- Inherits:
-
OEDLException
- Object
- StandardError
- OEDLException
- OmfEc::DSL::OEDLUnknownProperty
- 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(name, msg = nil) ⇒ OEDLUnknownProperty
constructor
A new instance of OEDLUnknownProperty.
Constructor Details
#initialize(name, msg = nil) ⇒ OEDLUnknownProperty
Returns a new instance of OEDLUnknownProperty.
47 48 49 50 51 |
# File 'lib/omf_ec/dsl.rb', line 47 def initialize(name, msg = nil) @name = name msg ||= "Unknown property '#{name}', not previously defined in your OEDL experiment" super(msg) end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
46 47 48 |
# File 'lib/omf_ec/dsl.rb', line 46 def cmd @cmd end |