module Regex::Quantifiable

Public Instance Methods

quantified?() click to toggle source

Redefined method. Return true since it may not have any child.

# File lib/regex/quantifiable.rb, line 10
def quantified?
  return !@quantifier.nil?
end
quantifier() click to toggle source
# File lib/regex/quantifiable.rb, line 14
def quantifier
  @quantifier
end
quantifier=(aQuantifier) click to toggle source
# File lib/regex/quantifiable.rb, line 18
def quantifier=(aQuantifier)
  @quantifier = aQuantifier
end