Exception: Disallow::DefaultScopeError
- Defined in:
- lib/disallow/exceptions.rb
Instance Method Summary collapse
-
#initialize(class_name) ⇒ DefaultScopeError
constructor
A new instance of DefaultScopeError.
Constructor Details
#initialize(class_name) ⇒ DefaultScopeError
Returns a new instance of DefaultScopeError.
6 7 8 |
# File 'lib/disallow/exceptions.rb', line 6 def initialize(class_name) super("default_scope is not allowed on #{class_name}") end |