Class: Fiona7::AttributeReaders::LinklistAsLinklist
- Inherits:
-
AttributeReader
- Object
- AttributeReader
- Fiona7::AttributeReaders::LinklistAsLinklist
- Defined in:
- lib/fiona7/attribute_readers/linklist_as_linklist.rb
Instance Method Summary collapse
Methods inherited from AttributeReader
Constructor Details
This class inherits a constructor from Fiona7::AttributeReaders::AttributeReader
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 |
# File 'lib/fiona7/attribute_readers/linklist_as_linklist.rb', line 7 def call links = self.obj.attr_values[self.attr_name] || [] links.map do |link| Helpers::LinkDeserializer.new.call(link) end end |