Module: Brine::Coercing
- Included in:
- Brine
- Defined in:
- lib/brine/coercing.rb
Overview
Provide type coercion.
Defined Under Namespace
Classes: Coercer
Instance Method Summary collapse
-
#coercer ⇒ Coercer
Expose a Coercer as a property.
Instance Method Details
permalink #coercer ⇒ Coercer
Expose a Coercer as a property.
A Coercer will be instantiated as needed on first access.
82 83 84 |
# File 'lib/brine/coercing.rb', line 82 def coercer @coercer ||= Coercer.new end |