Class: Skunk::Command::Base

Inherits:
RubyCritic::Command::Base
  • Object
show all
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

Help

Instance Method Summary collapse

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)
  @options = 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