Sha256: 1dd31f845deb8428a76a2306f8a285b9d489c0fd7d1700e356316605e9481571
Contents?: true
Size: 232 Bytes
Versions: 2
Compression:
Stored size: 232 Bytes
Contents
require 'danica/operator/chained' module Danica class Product < Operator::Chained private def tex_symbol '\cdot' end def gnu_symbol '*' end def chain_operation(a, b) a * b end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danica-2.0.1 | lib/danica/product.rb |
danica-2.0.0 | lib/danica/product.rb |