Class: Regex::CompoundExpression
- Inherits:
-
Expression
- Object
- Expression
- Regex::CompoundExpression
- Defined in:
- lib/regex/compound_expression.rb
Overview
Abstract class. An element that is part of a regular expression & that has its own child sub-expressions.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Expression
Instance Method Summary collapse
-
#atomic? ⇒ Boolean
Redefined method.
Methods inherited from Expression
#initialize, #options, #to_str
Constructor Details
This class inherits a constructor from Regex::Expression
Instance Method Details
#atomic? ⇒ Boolean
Redefined method. Return false since it may have one or more children.
10 11 12 |
# File 'lib/regex/compound_expression.rb', line 10 def atomic? false end |