Class: Bulldogger::ExecutionTarget::Target
- Inherits:
-
Data
- Object
- Data
- Bulldogger::ExecutionTarget::Target
- Defined in:
- lib/bulldogger/execution_target.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index
10 11 12 |
# File 'lib/bulldogger/execution_target.rb', line 10 def index @index end |
#method ⇒ Object (readonly)
Returns the value of attribute method
10 11 12 |
# File 'lib/bulldogger/execution_target.rb', line 10 def method @method end |
#path ⇒ Object (readonly)
Returns the value of attribute path
10 11 12 |
# File 'lib/bulldogger/execution_target.rb', line 10 def path @path end |
#root ⇒ Object (readonly)
Returns the value of attribute root
10 11 12 |
# File 'lib/bulldogger/execution_target.rb', line 10 def root @root end |
Instance Method Details
#application_path?(verb, stderr) ⇒ Boolean
11 12 13 14 15 16 |
# File 'lib/bulldogger/execution_target.rb', line 11 def application_path?(verb, stderr) return true if path.start_with?("#{root}/") && !path.start_with?("#{root}/vendor/bundle/") stderr.puts "bulldogger #{verb}: target is not an application frame; use the frames index, read the gem source, or use probe" false end |