Sha256: 8c97945ca552e421d5bf058ea7e6fb58dee33f1b76e524df78ea37fdf83c939c

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

module Danica
  class Operator::Multiplication < Operator::Chained
    default_value :priority, 3

    private

    default_value :tex_symbol, '\cdot'
    default_value :gnu_symbol, :*

    def chain_operation(first, second)
      first * second
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danica-2.7.7 lib/danica/operator/multiplication.rb
danica-2.7.6 lib/danica/operator/multiplication.rb
danica-2.7.5 lib/danica/operator/multiplication.rb