Exception: Yadic::Container::ObjectNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yadic.rb

Instance Method Summary collapse

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

#messageObject



20
# File 'lib/yadic.rb', line 20

def message() "No object named #{@name}." end