Sha256: 044680751e9700a67772b1b23bf7c273c2eab9ba956a7e1f847fb799ab5ff783

Contents?: true

Size: 447 Bytes

Versions: 7

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module Expressir
  module Liquid
    module Expressions
      class AggregateInitializerItemDrop < ::Expressir::Liquid::ExpressionDrop
        def initialize(model)
          @model = model
          super
        end

        def expression
          drop_klass_by_model(@model.expression)
        end

        def repetition
          drop_klass_by_model(@model.repetition)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
expressir-2.1.6 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb
expressir-2.1.5 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb
expressir-2.1.4 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb
expressir-2.1.3 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb
expressir-2.1.2 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb
expressir-2.1.1 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb
expressir-2.1.0 lib/expressir/liquid/expressions/aggregate_initializer_item_drop.rb