Exception: Xeroizer::MethodNotAllowed
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::MethodNotAllowed
- Defined in:
- lib/xeroizer/exceptions.rb
Instance Method Summary (collapse)
-
- (MethodNotAllowed) initialize(klass, method)
constructor
A new instance of MethodNotAllowed.
- - (Object) message
Constructor Details
- (MethodNotAllowed) initialize(klass, method)
A new instance of MethodNotAllowed
64 65 66 67 |
# File 'lib/xeroizer/exceptions.rb', line 64 def initialize(klass, method) @klass = klass @method = method end |
Instance Method Details
- (Object) message
69 70 71 |
# File 'lib/xeroizer/exceptions.rb', line 69 def "Method #{@method} not allowed on #{@klass}" end |