Class: StackProf::Local::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/stackprof/local/configuration.rb

Constant Summary collapse

OPTIONS_FILE =
".stackprof-local".freeze
ERB_EOUTVAR =
"-".freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Configuration

Returns a new instance of Configuration.



14
15
16
17
# File 'lib/stackprof/local/configuration.rb', line 14

def initialize(args)
  parser.parse!(args_from_options_file)
  parser.parse!(args)
end

Instance Attribute Details

#local_gemsObject (readonly)

Returns the value of attribute local_gems.



11
12
13
# File 'lib/stackprof/local/configuration.rb', line 11

def local_gems
  @local_gems
end

#local_projectObject (readonly)

Returns the value of attribute local_project.



11
12
13
# File 'lib/stackprof/local/configuration.rb', line 11

def local_project
  @local_project
end

#remote_gemsObject (readonly)

Returns the value of attribute remote_gems.



12
13
14
# File 'lib/stackprof/local/configuration.rb', line 12

def remote_gems
  @remote_gems
end

#remote_projectObject (readonly)

Returns the value of attribute remote_project.



12
13
14
# File 'lib/stackprof/local/configuration.rb', line 12

def remote_project
  @remote_project
end