Class: Solargraph::Pin::Search::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/solargraph/pin/search.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#matchFloat (readonly)

Returns:

  • (Float)


10
11
12
# File 'lib/solargraph/pin/search.rb', line 10

def match
  @match
end

#pinPin::Base (readonly)

Returns:



13
14
15
# File 'lib/solargraph/pin/search.rb', line 13

def pin
  @pin
end