Sha256: 2b108c17cbaa7b6ca616855617fae3fe54039c4a5b8dfd2f45a1b54e3976b420
Contents?: true
Size: 277 Bytes
Versions: 1
Compression:
Stored size: 277 Bytes
Contents
require 'danica/operator/chained' module Danica class Sum < Operator::Chained def +(other) repack(other) end private def tex_symbol '+' end def gnu_symbol '+' end def chain_operation(a, b) a + b end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danica-2.0.4 | lib/danica/sum.rb |