class TwitterCldr::Utils::RegexpAst::Quantifier
Attributes
max[R]
min[R]
Public Class Methods
from_parser_node(node)
click to toggle source
# File lib/twitter_cldr/utils/regexp_ast.rb, line 94 def self.from_parser_node(node) if node.quantifier new( node.quantifier.max, node.quantifier.min ) end end
new(max, min)
click to toggle source
# File lib/twitter_cldr/utils/regexp_ast.rb, line 90 def initialize(max, min) @max = max; @min = min end