Exception: DslDefinitionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/r_kit/dsl/dsl_definition_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ DslDefinitionError

Returns a new instance of DslDefinitionError.



2
3
4
5
6
7
8
9
# File 'lib/r_kit/dsl/dsl_definition_error.rb', line 2

def initialize base
  # TODO: link to the doc
  super %Q{
DslDefinitionError: Wrong dsl definition order on `#{ base }',
you can't declare a `domain' unless you have previously declared a `name' AND a `method'
Please, visit XXX for more details
  }
end