Class: RBNF::Except
Overview
Exception node
Constant Summary
Constants included from RBNF
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
Methods inherited from Binary
Methods included from RBNF
#=~, [], #alt, #cat, #comps, def, define, dememoize, #except, #group, method_missing, #opt, #rep, #rep_n
Constructor Details
This class inherits a constructor from RBNF::Binary
Instance Method Details
#match(s) ⇒ Object
81 82 83 |
# File 'lib/rbnf/nodes.rb', line 81 def match(s) a=~s && !b=~s end |
#to_s ⇒ Object
78 79 80 |
# File 'lib/rbnf/nodes.rb', line 78 def to_s "( #{a} - #{b} )" end |