Class: BusinessCatalyst::CSV::GenericTransformer

Inherits:
Transformer
  • Object
show all
Defined in:
lib/business_catalyst/csv/transformers.rb

Overview

Just calls to_s on input

Instance Attribute Summary

Attributes inherited from Transformer

#input

Instance Method Summary collapse

Methods inherited from Transformer

#initialize, transform

Constructor Details

This class inherits a constructor from BusinessCatalyst::CSV::Transformer

Instance Method Details

#transformObject



17
18
19
# File 'lib/business_catalyst/csv/transformers.rb', line 17

def transform
  input.to_s if input
end