Method: Runestone::WebSearch::PartialMatch#initialize

Defined in:
lib/runestone/web_search.rb

#initialize(start_index, end_index, substitution) ⇒ PartialMatch

Returns a new instance of PartialMatch.



17
18
19
20
21
# File 'lib/runestone/web_search.rb', line 17

def initialize(start_index, end_index, substitution)
  @start_index = start_index
  @end_index = end_index
  @substitution = substitution
end