class Cannonbol::Any
Public Instance Methods
__match?(needle, thread_state = nil)
click to toggle source
# File lib/cannonbol/cannonbol.rb, line 408 def __match?(needle, thread_state = nil) if thread_state needle.pull(thread_state) elsif chars(needle).include? needle.remaining_string[0..0] [needle.push(1)] end end