Module: ActiveEntity::Coercion
- Includes:
- Typecasting
- Defined in:
- lib/active_entity/coercion.rb
Overview
Offers implicit type conversion on initializing. This depends ‘ActiveEntity::Accessor#defined_attributes`.
Instance Method Summary collapse
Methods included from Typecasting
Instance Method Details
#initialize ⇒ Object
7 8 9 10 |
# File 'lib/active_entity/coercion.rb', line 7 def initialize(*) super cast end |