Module: Rattler::Parsers::Atomic
Instance Method Summary collapse
-
#with_ws(ws) ⇒ Parser
A new parser that uses
ws
to skip whitespace.
Instance Method Details
#with_ws(ws) ⇒ Parser
Returns a new parser that uses ws
to skip whitespace.
14 15 16 |
# File 'lib/rattler/parsers/atomic.rb', line 14 def with_ws(ws) ws.skip & self end |