Class: Ethel::Operations::Copy

Inherits:
Ethel::Operation show all
Defined in:
lib/ethel/operations/copy.rb

Instance Method Summary collapse

Methods inherited from Ethel::Operation

#before_transform, #transform

Constructor Details

#initialize(field) ⇒ Copy

Returns a new instance of Copy.



4
5
6
7
# File 'lib/ethel/operations/copy.rb', line 4

def initialize(field)
  super
  add_child_operation(AddField.new(field))
end