class Cannonbol::RPos

Public Instance Methods

__match?(needle, matched = nil) click to toggle source
# File lib/cannonbol/cannonbol.rb, line 367
def __match?(needle, matched = nil)
  return [true] if needle.string.length-needle.cursor == pos(needle) and !matched
end