Method: Textbringer::Buffer#match_string

Defined in:
lib/textbringer/buffer.rb

#match_string(n) ⇒ Object



1117
1118
1119
1120
1121
1122
1123
1124
# File 'lib/textbringer/buffer.rb', line 1117

def match_string(n)
  b, e = @match_offsets[n]
  if b.nil?
    nil
  else
    substring(b, e)
  end
end