Class: BusinessCatalyst::CSV::BooleanTransformer
- Inherits:
-
Transformer
- Object
- Transformer
- BusinessCatalyst::CSV::BooleanTransformer
- Defined in:
- lib/business_catalyst/csv/transformers.rb
Instance Attribute Summary
Attributes inherited from Transformer
Instance Method Summary collapse
Methods inherited from Transformer
Constructor Details
This class inherits a constructor from BusinessCatalyst::CSV::Transformer
Instance Method Details
#transform ⇒ Object
33 34 35 |
# File 'lib/business_catalyst/csv/transformers.rb', line 33 def transform input ? "Y" : "N" end |