Class: Migratrix::Transforms::NoOp

Inherits:
Transform show all
Defined in:
lib/migratrix/transforms/no_op.rb

Overview

A Transform object that does nothing. Useful for plugging into a Migration when you need to debug other parts of the migration

Instance Attribute Summary

Attributes inherited from Transform

#extraction, #name, #options, #transformations

Instance Method Summary collapse

Methods inherited from Transform

#apply_attribute, #create_new_object, #create_transformed_collection, #extract_attribute, #finalize_object, #initialize, #store_transformed_object

Constructor Details

This class inherits a constructor from Migratrix::Transforms::Transform

Instance Method Details

#transform(extracted_items, options = {}) ⇒ Object



6
7
8
# File 'lib/migratrix/transforms/no_op.rb', line 6

def transform(extracted_items, options={})
  []
end