class Cannonbol::Rem

Public Instance Methods

__match?(needle, thread_state = nil) click to toggle source
# File lib/cannonbol/cannonbol.rb, line 286
def __match?(needle, thread_state = nil)
  if thread_state
    needle_pull(thread_state)
  else
    [needle.push(needle.string.length-needle.cursor)]
  end
end