Sha256: d363eca243f07fec77c77cdcb2c38c4185d2c40f96a7b1f66db120bed7571fe7
Contents?: true
Size: 570 Bytes
Versions: 11
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true require_relative "declarations/remark_item_drop" module Expressir module Liquid module IdentifierDrop def initialize_identifier(model) @model = model end def id @model.id end def remarks @model.remarks || [] end def remark_items return [] unless @model.remark_items @model.remark_items.map do |item| ::Expressir::Liquid::RemarkItemDrop.new(item) end end def source @model.source end end end end
Version data entries
11 entries across 11 versions & 1 rubygems