Sha256: 4aa0780b456def98aaf6a9acdd606069184dcfd4bfd9773613c9c670e050ebc3

Contents?: true

Size: 490 Bytes

Versions: 7

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

module Expressir
  module Liquid
    module References
      class IndexReferenceDrop < ::Expressir::Liquid::ReferenceDrop
        def initialize(model)
          @model = model
          super
        end

        def ref
          drop_klass_by_model(@model.ref)
        end

        def index1
          drop_klass_by_model(@model.index1)
        end

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

Version data entries

7 entries across 7 versions & 1 rubygems

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