Class: Parslet::Atoms::Sequence
- Inherits:
-
Object
- Object
- Parslet::Atoms::Sequence
- Defined in:
- lib/parslet-export/atoms/sequence.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
4 5 6 7 8 9 |
# File 'lib/parslet-export/atoms/sequence.rb', line 4 def to_hash { "atom" => "sequence", "parslets" => parslets.map(&:to_hash) } end |