Class: Dctl::Command::SmartCommand
- Inherits:
-
CommandParser::Command
- Object
- CommandParser::Command
- Dctl::Command::SmartCommand
- Defined in:
- lib/dctl/command.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ SmartCommand
constructor
A new instance of SmartCommand.
Constructor Details
#initialize ⇒ SmartCommand
Returns a new instance of SmartCommand.
18 19 20 |
# File 'lib/dctl/command.rb', line 18 def initialize super self.class.to_s.gsub(/\w+::/, '').gsub(/Command$/, '').downcase end |