Class: RubyCritic::Command::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycritic/commands/base.rb

Direct Known Subclasses

Default, Help, Version

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Base

Returns a new instance of Base.


7
8
9
10
# File 'lib/rubycritic/commands/base.rb', line 7

def initialize(options)
  @options = options
  @status_reporter = RubyCritic::Command::StatusReporter.new(@options)
end

Instance Method Details

#executeObject

Raises:

  • (NotImplementedError)

12
13
14
# File 'lib/rubycritic/commands/base.rb', line 12

def execute
  raise NotImplementedError
end