Class: Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::FloatValue
- Inherits:
-
ValueMapper
- Object
- ValueMapper
- Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::FloatValue
- Defined in:
- lib/valkyrie/persistence/fedora/persister/orm_converter.rb
Instance Attribute Summary
Attributes inherited from ValueMapper
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ValueMapper
Constructor Details
This class inherits a constructor from Valkyrie::ValueMapper
Class Method Details
.handles?(value) ⇒ Boolean
347 348 349 |
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 347 def self.handles?(value) value.statement.object.is_a?(RDF::Literal) && value.statement.object.language.blank? && value.statement.object.datatype == PermissiveSchema.valkyrie_float end |