Class: Skunk::Command::Base
- Inherits:
-
RubyCritic::Command::Base
- Object
- RubyCritic::Command::Base
- Skunk::Command::Base
- Defined in:
- lib/skunk/commands/base.rb
Overview
Base class for ‘Skunk` commands. It knows how to build a command with options. It always uses a [Skunk::Command::StatusReporter] as its reporter object.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
- #share(_) ⇒ Object
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/skunk/commands/base.rb', line 12 def initialize() @options = @status_reporter = Skunk::Command::StatusReporter.new(@options) end |
Instance Method Details
#share(_) ⇒ Object
17 |
# File 'lib/skunk/commands/base.rb', line 17 def share(_); end |