Sha256: f208f43cfbd4056346fbb2cb51f043febde2b8512e3ecfed324635a30fb6ac8b

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

require 'danica/operator/chained'

module Danica
  class Sum < Operator::Chained
    private

    def tex_symbol
      '+'
    end

    def gnu_symbol
      '+'
    end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danica-2.0.3 lib/danica/sum.rb
danica-2.0.2 lib/danica/sum.rb
danica-2.0.1 lib/danica/sum.rb
danica-2.0.0 lib/danica/sum.rb