Class: Lotus::Model::Mapping::Coercers::Set Private
- Defined in:
- lib/lotus/model/mapping/coercers.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Set coercer
Class Method Summary collapse
-
.load(value) ⇒ Set
private
Transform a value from the database into a Set, unless nil.
Methods inherited from Coercer
Class Method Details
.load(value) ⇒ Set
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Transform a value from the database into a Set, unless nil
232 233 234 |
# File 'lib/lotus/model/mapping/coercers.rb', line 232 def self.load(value) Utils::Kernel.Set(value) unless value.nil? end |