Method: Ldpath::Parser#group

Defined in:
lib/ldpath/parser.rb

#group(atom) ⇒ Object



438
439
440
441
442
# File 'lib/ldpath/parser.rb', line 438

def group(atom)
  str("(") >> wsp? >>
    atom >> wsp? >>
    str(")")
end