Class: Pinspec::Runner::Runtime::Result
- Inherits:
-
Data
- Object
- Data
- Pinspec::Runner::Runtime::Result
- Defined in:
- lib/pinspec/runner/runtime.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#manager ⇒ Object
readonly
Returns the value of attribute manager.
-
#note ⇒ Object
readonly
Returns the value of attribute note.
-
#ruby_version ⇒ Object
readonly
Returns the value of attribute ruby_version.
Instance Method Summary collapse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env
8 9 10 |
# File 'lib/pinspec/runner/runtime.rb', line 8 def env @env end |
#manager ⇒ Object (readonly)
Returns the value of attribute manager
8 9 10 |
# File 'lib/pinspec/runner/runtime.rb', line 8 def manager @manager end |
#note ⇒ Object (readonly)
Returns the value of attribute note
8 9 10 |
# File 'lib/pinspec/runner/runtime.rb', line 8 def note @note end |
#ruby_version ⇒ Object (readonly)
Returns the value of attribute ruby_version
8 9 10 |
# File 'lib/pinspec/runner/runtime.rb', line 8 def ruby_version @ruby_version end |
Instance Method Details
#detected? ⇒ Boolean
9 10 11 |
# File 'lib/pinspec/runner/runtime.rb', line 9 def detected? !manager.nil? end |
#same_ruby? ⇒ Boolean
13 14 15 |
# File 'lib/pinspec/runner/runtime.rb', line 13 def same_ruby? manager.nil? && note.nil? end |