Exception: OmfEc::DSL::OEDLUnknownProperty

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cmdObject (readonly)

Returns the value of attribute cmd.



46
47
48
# File 'lib/omf_ec/dsl.rb', line 46

def cmd
  @cmd
end