Exception: Rudy::Config::Error
- Defined in:
- lib/rudy/config/objects.rb
Direct Known Subclasses
Commands::BadArg, Commands::PathNotString, Commands::ReservedKeyword
Instance Method Summary collapse
-
#initialize(ctype, obj) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
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
#message ⇒ Object
8 |
# File 'lib/rudy/config/objects.rb', line 8 def ; "Error in #{@ctype}: #{@obj}"; end |