Sha256: 587870fb4197a222b8a99be9fdd41b4fe21cf177c75306c931df776cb2c72fd2
Contents?: true
Size: 527 Bytes
Versions: 14
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true module Expressir module Liquid module Statements class CaseActionDrop < ::Expressir::Liquid::StatementDrop def initialize(model) @model = model super end def labels return [] unless @model.labels @model.labels.map do |item| drop_klass_by_model(item) end end def statement ::Expressir::Liquid::StatementDrop.new(@model.statement) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems