Class: Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::SingleApplicator
- Inherits:
-
Applicator
- Object
- Applicator
- Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::SingleApplicator
- Defined in:
- lib/valkyrie/persistence/fedora/persister/orm_converter.rb
Overview
Class for mapping single values
Instance Attribute Summary
Attributes inherited from Applicator
Instance Method Summary collapse
-
#apply_to(hsh) ⇒ Hash
Ensure that the value string is inserted into the attribute Hash.
Methods inherited from Applicator
#cast_array, #deny?, #denylist, #initialize, #key, #namespaces, #values
Constructor Details
This class inherits a constructor from Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::Applicator
Instance Method Details
#apply_to(hsh) ⇒ Hash
Ensure that the value string is inserted into the attribute Hash
591 592 593 |
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 591 def apply_to(hsh) hsh[key.to_sym] = values.to_s end |