class Peggy::AnyNumber

Matcher of 0 or more times.

Public Class Methods

new() click to toggle source
Calls superclass method Peggy::Multiple::new
# File lib/parse/builder.rb, line 150
def initialize
  super 0..MANY
end

Public Instance Methods

to_s() click to toggle source

Convert element to String.

# File lib/parse/builder.rb, line 155
def to_s
  "#{wrap}*"
end