Class: Peggy::AnyNumber
- Defined in:
- lib/parse/builder.rb
Overview
Matcher of 0 or more times.
Constant Summary
Constants inherited from Multiple
Instance Attribute Summary
Attributes inherited from Multiple
Attributes included from OneChild
Instance Method Summary collapse
-
#initialize ⇒ AnyNumber
constructor
A new instance of AnyNumber.
-
#to_s ⇒ Object
Convert element to String.
Methods inherited from Multiple
Methods included from OneChild
Methods inherited from Element
Constructor Details
Instance Method Details
#to_s ⇒ Object
Convert element to String.
155 156 157 |
# File 'lib/parse/builder.rb', line 155 def to_s "#{wrap}*" end |