Class: ERLE::Atom
Constant Summary collapse
- INNER_PATTERN =
pattern /^[a-z]*/ # TODO: Handle uppercase
/(#{@unopened_pattern}|#{@enclosed_pattern}|)/
Instance Attribute Summary
Attributes inherited from Term
Instance Method Summary collapse
Methods inherited from Term
enclosure, #initialize, pattern, to_ruby, until_any_closing
Constructor Details
This class inherits a constructor from ERLE::Term
Instance Method Details
#to_ruby ⇒ Object
16 17 18 |
# File 'lib/erle/elements/atom.rb', line 16 def to_ruby @output ||= @input end |