Class: Uno
- Inherits:
-
Generator
- Object
- Generator
- Uno
- Defined in:
- lib/pruebaEFL.rb
Instance Method Summary collapse
-
#initialize ⇒ Uno
constructor
A new instance of Uno.
Constructor Details
#initialize ⇒ Uno
Returns a new instance of Uno.
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/pruebaEFL.rb', line 4 def initialize super() #~ gsub(/Estos/, 'ESTO', 's1') #~ sub(/Eso/, 'XXX','s1') before(/Esto/, '-ESTO-', 's1') after(/Eso/, '-ESO-', 's2') gbefore(/es/, '-ES-', 's3') prod('ejemplar.txt', 'salida2.txt') end |