Sha256: cc0552a983f77a5efc2947574c7ea3b9a164b91e81061439018357d549105c1b

Contents?: true

Size: 491 Bytes

Versions: 11

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

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

        def operator
          @model.operator
        end

        def operand1
          drop_klass_by_model(@model.operand1)
        end

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

Version data entries

11 entries across 11 versions & 1 rubygems

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