class Mago::Cli::Config

Command config. Build by option parser and is used to execute command.

Attributes

color[RW]

@attribute color [Boolean] whether colorize output or not

files[RW]

@attribute files [Array<String>] ruby files to process

ignore[RW]

@attribute ignore [Array<Numeric>, nil] numbers which must be ignored

source[RW]

attribute source [Boolean] whether show lines of source

code with magic number or not

Public Class Methods

new() click to toggle source
# File lib/mago/cli/config.rb, line 18
def initialize
  @files  = []
  @color  = false
  @source = false
  @ignore = nil
end