class Cannonbol::Pos

Public Instance Methods

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