Class: RegexpExamples::StarRepeater
- Inherits:
-
BaseRepeater
- Object
- BaseRepeater
- RegexpExamples::StarRepeater
- Defined in:
- lib/regexp-examples/repeaters.rb
Instance Attribute Summary
Attributes inherited from BaseRepeater
Instance Method Summary collapse
-
#initialize(group) ⇒ StarRepeater
constructor
A new instance of StarRepeater.
- #result ⇒ Object
Constructor Details
#initialize(group) ⇒ StarRepeater
Returns a new instance of StarRepeater.
35 36 37 |
# File 'lib/regexp-examples/repeaters.rb', line 35 def initialize(group) super end |
Instance Method Details
#result ⇒ Object
39 40 41 |
# File 'lib/regexp-examples/repeaters.rb', line 39 def result super(0, RegexpExamples.MaxRepeaterVariance) end |