Sha256: e3a566016535b6c1a7ff73081eec648cfc60c391cca17b00e74133f64dc99cff

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

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

    private

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

    def chain_operation(a, b)
      a * b
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danica-2.7.4 lib/danica/operator/multiplication.rb
danica-2.7.3 lib/danica/operator/multiplication.rb
danica-2.7.2 lib/danica/operator/multiplication.rb