Module: StackProf::Local
- Extended by:
- Local
- Included in:
- Local
- Defined in:
- lib/stackprof/local.rb,
lib/stackprof/local/configuration.rb,
lib/stackprof/local/source_display.rb
Defined Under Namespace
Modules: SourceDisplay Classes: Configuration
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Instance Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
9 10 11 |
# File 'lib/stackprof/local.rb', line 9 def configuration @configuration end |
Instance Method Details
#configure(args) ⇒ Object
11 12 13 |
# File 'lib/stackprof/local.rb', line 11 def configure(args) @configuration = Configuration.new(args) end |
#localize(file) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/stackprof/local.rb', line 15 def localize(file) if configuration.remote_gems.match(file) to_local_gems(file) else to_local_project(file) end end |