class Util::ControlParser

Public Instance Methods

line(ending) click to toggle source
# File lib/utilities/parser.rb, line 164
def line(ending)
  line_body(ending)
end
line_body(_ending) click to toggle source
# File lib/utilities/parser.rb, line 160
def line_body(_ending)
  (attribute_absent >> any).repeat(1)
end
lines(ending) click to toggle source
# File lib/utilities/parser.rb, line 168
def lines(ending)
  line(ending).as(:line).repeat
end