Class: Peggy::AtLeastOne
- Defined in:
- lib/builder.rb,
lib/Copy of builder.rb
Overview
Matcher of 1 or more times.
Constant Summary
Constants inherited from Multiple
Instance Attribute Summary
Attributes inherited from Multiple
Instance Method Summary collapse
-
#initialize ⇒ AtLeastOne
constructor
A new instance of AtLeastOne.
Methods inherited from Multiple
Methods inherited from Element
Constructor Details
#initialize ⇒ AtLeastOne
Returns a new instance of AtLeastOne.
118 119 120 |
# File 'lib/builder.rb', line 118 def initialize super 1..MANY end |