Class: HealthSeven::SegmentLiteral
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- HealthSeven::SegmentLiteral
- Defined in:
- lib/health_seven/nodes.rb
Instance Method Summary collapse
Instance Method Details
#fields ⇒ Object
13 14 15 |
# File 'lib/health_seven/nodes.rb', line 13 def fields @fields ||= self.text_value.gsub(name + '|', '') end |
#name ⇒ Object
9 10 11 |
# File 'lib/health_seven/nodes.rb', line 9 def name @name ||= self.text_value.split('|')[0] end |