class RBNF::Group

Grouping node. Semantically identical to its child, but greatly simplifies stringification.

Public Instance Methods

match(s) click to toggle source
# File lib/rbnf/nodes.rb, line 71
def match(s)
  a=~s
end
to_s() click to toggle source
# File lib/rbnf/nodes.rb, line 68
def to_s
  "( #{a} )"
end