class RBNF::Opt

Optation node

Public Instance Methods

match(s) click to toggle source
# File lib/rbnf/nodes.rb, line 60
def match(s)
  s.empty? or a=~s
end
to_s() click to toggle source
# File lib/rbnf/nodes.rb, line 57
def to_s
  "[ #{a} ]"
end