Exception: OmfEc::DSL::OEDLUnknownProperty

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (OEDLUnknownProperty) initialize(name, msg = nil)

Returns a new instance of OEDLUnknownProperty



47
48
49
50
51
# File 'omf_ec/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

- (Object) cmd (readonly)

Returns the value of attribute cmd



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

def cmd
  @cmd
end