Sha256: f5c2fe2bccd010654fdf1785ec57d584ee48a8ccf15d3274959bcdd15977f85d
Contents?: true
Size: 341 Bytes
Versions: 19
Compression:
Stored size: 341 Bytes
Contents
require 'fiona7/attribute_readers/attribute_reader' module Fiona7 module AttributeReaders class ReferenceAsLinklist < AttributeReader def call link = self.obj.attr_values[self.attr_name].try(:first) if link && link["type"] == "internal" link["destination"].to_s end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems