class Cannonbol::Tab
Public Instance Methods
__match?(needle, thread_state = nil)
click to toggle source
# File lib/cannonbol/cannonbol.rb, line 377 def __match?(needle, thread_state = nil) if thread_state needle.pull(thread_state) else len = pos(needle) - needle.cursor [needle.push(len)] if len >= 0 and needle.remaining_string.length >= len end end