Class: Parslet::Atoms::Named
Overview
Modify named captures to allow arrays
Instance Method Summary collapse
-
#initialize(parslet, name, array = false) ⇒ Named
constructor
A new instance of Named.
Constructor Details
#initialize(parslet, name, array = false) ⇒ Named
Returns a new instance of Named.
26 27 28 29 30 31 |
# File 'lib/nose/parser.rb', line 26 def initialize(parslet, name, array = false) super() @parslet = parslet @name = name @array = array end |