Class: StackProf::Local::Configuration
- Inherits:
-
Object
- Object
- StackProf::Local::Configuration
- Defined in:
- lib/stackprof/local/configuration.rb
Constant Summary collapse
- OPTIONS_FILE =
".stackprof-local".freeze
- ERB_EOUTVAR =
"-".freeze
Instance Attribute Summary collapse
-
#local_gems ⇒ Object
readonly
Returns the value of attribute local_gems.
-
#local_project ⇒ Object
readonly
Returns the value of attribute local_project.
-
#remote_gems ⇒ Object
readonly
Returns the value of attribute remote_gems.
-
#remote_project ⇒ Object
readonly
Returns the value of attribute remote_project.
Instance Method Summary collapse
-
#initialize(args) ⇒ Configuration
constructor
A new instance of Configuration.
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!() parser.parse!(args) end |
Instance Attribute Details
#local_gems ⇒ Object (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_project ⇒ Object (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_gems ⇒ Object (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_project ⇒ Object (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 |