Class: ColumnFilter
- Defined in:
- app/transforms/column_filter.rb
Instance Attribute Summary
Attributes inherited from Transform
Instance Method Summary collapse
Methods inherited from Transform
#columns, display_name, form_keys, #initialize, #setting, transforms
Constructor Details
This class inherits a constructor from Transform
Instance Method Details
#result ⇒ Object
2 3 4 5 6 |
# File 'app/transforms/column_filter.rb', line 2 def result to_remove = table.column_names - columns table.remove_columns(to_remove) table end |