class Peggy::AtLeastOne

Matcher of 1 or more times.

Public Class Methods

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

Public Instance Methods

to_s() click to toggle source

Convert element to String.

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