Class: Solargraph::Pin::Search::Result
- Inherits:
-
Object
- Object
- Solargraph::Pin::Search::Result
- Defined in:
- lib/solargraph/pin/search.rb
Instance Attribute Summary collapse
- #match ⇒ Float readonly
- #pin ⇒ Pin::Base readonly
Instance Method Summary collapse
-
#initialize(match, pin) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(match, pin) ⇒ Result
Returns a new instance of Result.
15 16 17 18 |
# File 'lib/solargraph/pin/search.rb', line 15 def initialize match, pin @match = match @pin = pin end |
Instance Attribute Details
#match ⇒ Float (readonly)
10 11 12 |
# File 'lib/solargraph/pin/search.rb', line 10 def match @match end |
#pin ⇒ Pin::Base (readonly)
13 14 15 |
# File 'lib/solargraph/pin/search.rb', line 13 def pin @pin end |