Sha256: 0d69a5ae69da0b99454d42ec0f5d614e6a50e14a3a769b01da4674f75ba87716
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true module Reek module CLI module Command # # Base class for all commands # class BaseCommand def initialize(options) @options = options end private attr_reader :options def smell_names @smell_names ||= options.smells_to_detect end def sources @sources ||= options.sources end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reek-4.0.0 | lib/reek/cli/command/base_command.rb |
reek-4.0.0.pre1 | lib/reek/cli/command/base_command.rb |