Class: Reek::CLI::Command Private

Inherits:
Object
  • Object
show all
Defined in:
lib/reek/cli/command.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Base class for all commands

Direct Known Subclasses

ReekCommand

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Command

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Command.



10
11
12
# File 'lib/reek/cli/command.rb', line 10

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/reek/cli/command.rb', line 8

def options
  @options
end