Class: Uno

Inherits:
Generator
  • Object
show all
Defined in:
lib/pruebaEFL.rb

Instance Method Summary collapse

Constructor Details

#initializeUno

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