Exception: Rudy::Config::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/rudy/config/objects.rb

Instance Method Summary collapse

Constructor Details

#initialize(ctype, obj) ⇒ Error

Returns a new instance of Error.



5
6
7
# File 'lib/rudy/config/objects.rb', line 5

def initialize(ctype, obj)
  @ctype, @obj = ctype, obj
end

Instance Method Details

#messageObject



8
# File 'lib/rudy/config/objects.rb', line 8

def message; "Error in #{@ctype}: #{@obj}"; end