Class: Bumblebee::SimpleConverter

Inherits:
Converter
  • Object
show all
Defined in:
lib/bumblebee/simple_converter.rb

Overview

Subclass of Converter that provides a simple implementation for each Type.

Constant Summary collapse

DEFAULT_DATE =
'1900-01-01'
DEFAULT_BIG_DECIMAL =
0

Constants inherited from Converter

Converter::DEFAULT_DATE_FORMAT, Converter::DEFAULT_SEPARATOR

Constants included from Converter::Types

Converter::Types::BIGDECIMAL, Converter::Types::BOOLEAN, Converter::Types::DATE, Converter::Types::FLOAT, Converter::Types::FUNCTION, Converter::Types::INTEGER, Converter::Types::JOIN, Converter::Types::PLUCK_JOIN, Converter::Types::PLUCK_SPLIT, Converter::Types::SPLIT, Converter::Types::STRING

Instance Attribute Summary

Attributes inherited from Converter

#function, #object_class, #per, #sub_property, #type

Method Summary

Methods inherited from Converter

#convert, #initialize

Constructor Details

This class inherits a constructor from Bumblebee::Converter