Exception: Yadic::Container::ObjectNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Yadic::Container::ObjectNotFoundError
- Defined in:
- lib/yadic.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ ObjectNotFoundError
constructor
A new instance of ObjectNotFoundError.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ ObjectNotFoundError
Returns a new instance of ObjectNotFoundError.
19 |
# File 'lib/yadic.rb', line 19 def initialize(name) @name=name end |
Instance Method Details
#message ⇒ Object
20 |
# File 'lib/yadic.rb', line 20 def () "No object named #{@name}." end |