Class: Treetop::Runtime::CompiledParser::Regexp
- Defined in:
- lib/piggly/parser/treetop_ruby19_patch.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Regexp
constructor
A new instance of Regexp.
Constructor Details
#initialize(*args) ⇒ Regexp
Returns a new instance of Regexp.
6 7 8 9 10 11 12 |
# File 'lib/piggly/parser/treetop_ruby19_patch.rb', line 6 def initialize(*args) if args.size == 1 super(args.first, nil, 'n') else super end end |