Exception: Pione::Command::ActionNotFound
- Inherits:
-
CommandException
- Object
- StandardError
- CommandException
- Pione::Command::ActionNotFound
- Defined in:
- lib/pione/command/command-exception.rb
Instance Method Summary collapse
-
#initialize(mod, name) ⇒ ActionNotFound
constructor
A new instance of ActionNotFound.
- #message ⇒ Object
Constructor Details
#initialize(mod, name) ⇒ ActionNotFound
Returns a new instance of ActionNotFound.
42 43 44 45 |
# File 'lib/pione/command/command-exception.rb', line 42 def initialize(mod, name) @mod = mod @name = name end |
Instance Method Details
#message ⇒ Object
47 48 49 |
# File 'lib/pione/command/command-exception.rb', line 47 def "Command action \"%s\" not found in %s." % [@name, @mod] end |