Sha256: 30cc6c640897bba6fd2ea08750d2d09e8e1df7a145ce8731c84dd98b6c079c48
Contents?: true
Size: 353 Bytes
Versions: 19
Compression:
Stored size: 353 Bytes
Contents
require 'fiona7/attribute_readers/attribute_reader' require 'fiona7/attribute_readers/helpers/link_deserializer' module Fiona7 module AttributeReaders class LinkAsLinklist < AttributeReader def call link = self.obj.attr_values[self.attr_name].try(:first) Helpers::LinkDeserializer.new.call(link) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems