Class: Parslet::Atoms::Repetition
- Inherits:
-
Object
- Object
- Parslet::Atoms::Repetition
- Defined in:
- lib/parslet-export/atoms/repetition.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/parslet-export/atoms/repetition.rb', line 4 def to_hash { "atom" => "repetition", "min" => min, "max" => max, "parslet" => parslet.to_hash } end |