examples/general/SRL/lib/regex/repetition.rb in rley-0.5.11 vs examples/general/SRL/lib/regex/repetition.rb in rley-0.5.12
- old
+ new
@@ -14,13 +14,14 @@
def initialize(childExpressionToRepeat, aMultiplicity)
super(childExpressionToRepeat)
@multiplicity = aMultiplicity
end
-public
+ protected
+
# Conversion method re-definition.
# Purpose: Return the String representation of the concatented expressions.
- def to_str()
+ def text_repr()
result = all_child_text() + multiplicity.to_str()
return result
end
end # class
\ No newline at end of file