Exception: StrongResources::UnregisteredResource
- Inherits:
-
StandardError
- Object
- StandardError
- StrongResources::UnregisteredResource
- Defined in:
- lib/strong_resources.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ UnregisteredResource
constructor
A new instance of UnregisteredResource.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ UnregisteredResource
Returns a new instance of UnregisteredResource.
15 16 17 |
# File 'lib/strong_resources.rb', line 15 def initialize(name) @name = name end |
Instance Method Details
#message ⇒ Object
19 20 21 |
# File 'lib/strong_resources.rb', line 19 def "Resource with name #{@name} not registered" end |