Module: Rattler::Util::ParserSpecHelper
- Defined in:
- lib/rattler/util/parser_spec_helper.rb
Overview
ParserSpecHelper
defines a fluent interface for writing RSpec examples for parsers.
Defined Under Namespace
Instance Method Summary collapse
-
#matching(source) ⇒ Object
Return a match result to be matched using #result_in or #fail.
-
#parsing(source) ⇒ Object
Return a parse result to be matched using #result_in or #fail.