Class: Acclimate::Command
- Inherits:
-
Object
- Object
- Acclimate::Command
- Includes:
- Output
- Defined in:
- lib/acclimate/command.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options) ⇒ Command
constructor
A new instance of Command.
Methods included from Output
#confirm, #header, included, #say, #say_error, #say_ok, #say_skipping, #say_stderr, #write
Constructor Details
#initialize(options) ⇒ Command
Returns a new instance of Command.
8 9 10 |
# File 'lib/acclimate/command.rb', line 8 def initialize( ) = end |
Instance Method Details
#execute ⇒ Object
12 13 14 |
# File 'lib/acclimate/command.rb', line 12 def execute raise NotImplementedError, "You must implement #{self.class.name}#execute" end |