Sha256: 38c593bb0aefe9ff6f820ef43d5bb26ccc1c96572389a292f361be7954be026f

Contents?: true

Size: 443 Bytes

Versions: 11

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

module Expressir
  module Liquid
    module Declarations
      class UniqueRuleDrop < ::Expressir::Liquid::DeclarationDrop
        include ::Expressir::Liquid::IdentifierDrop

        def initialize(model)
          @model = model
          initialize_identifier(@model)
          super
        end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
expressir-2.1.10 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.9 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.8 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.7 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.6 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.5 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.4 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.3 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.2 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.1 lib/expressir/liquid/declarations/unique_rule_drop.rb
expressir-2.1.0 lib/expressir/liquid/declarations/unique_rule_drop.rb