Exception: DslStandardError

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

Instance Method Summary collapse

Constructor Details

#initialize(base, method_name:) ⇒ DslStandardError

Returns a new instance of DslStandardError.



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

def initialize base, method_name:;
  super %Q{
DslStandardError: You tried to use the `#{ method_name }' DSL on `#{ base }',
Sadly, something went wrong, it seems that you can't use that DSL on your Class
Please, refer to the corresponding documentation
  }
end