Class: Util::ControlParser
- Defined in:
- lib/utilities/parser.rb
Instance Method Summary collapse
Instance Method Details
#line(ending) ⇒ Object
164 165 166 |
# File 'lib/utilities/parser.rb', line 164 def line(ending) line_body(ending) end |
#line_body(_ending) ⇒ Object
160 161 162 |
# File 'lib/utilities/parser.rb', line 160 def line_body(_ending) (attribute_absent >> any).repeat(1) end |
#lines(ending) ⇒ Object
168 169 170 |
# File 'lib/utilities/parser.rb', line 168 def lines(ending) line(ending).as(:line).repeat end |