Sha256: 764472357123c8c11cc6294c66a42531bf7bdcb7766e70fc7774d74637ba09c3
Contents?: true
Size: 386 Bytes
Versions: 19
Compression:
Stored size: 386 Bytes
Contents
require 'fiona7/attribute_readers/attribute_reader' module Fiona7 module AttributeReaders class ReferencelistAsLinklist < AttributeReader def call links = self.obj.attr_values[self.attr_name] || [] links.map do |link| if link && link["type"] == "internal" link["destination"].to_s end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems