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.



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

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

Instance Method Details

#executeObject

Raises:

  • (NotImplementedError)


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

def execute
  raise NotImplementedError
end