Class: Mongory::Converters::AbstractConverter::Registry
- Inherits:
-
Struct
- Object
- Struct
- Mongory::Converters::AbstractConverter::Registry
- Defined in:
- lib/mongory/converters/abstract_converter.rb
Overview
A registry entry storing a conversion rule.
Instance Attribute Summary collapse
-
#exec ⇒ Proc
The block used to convert the object.
-
#klass ⇒ Class
The class this rule applies to.
Instance Attribute Details
#exec ⇒ Proc
Returns the block used to convert the object.
26 |
# File 'lib/mongory/converters/abstract_converter.rb', line 26 Registry = Struct.new(:klass, :exec) |
#klass ⇒ Class
Returns the class this rule applies to.
26 |
# File 'lib/mongory/converters/abstract_converter.rb', line 26 Registry = Struct.new(:klass, :exec) |