Sha256: 5a34f61144dbcde0acdb262683dbcea114af92b3b829cbd088d1d188b6880b1d
Contents?: true
Size: 273 Bytes
Versions: 1
Compression:
Stored size: 273 Bytes
Contents
module Mathmas # Class for Symbol like x, y, etc. class Variable include Mathmas::Basic attr_reader :symbol def initialize(symbol) @symbol = symbol end def to_s @symbol.to_s end def to_tex @symbol.to_s end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mathmas-0.0.1 | lib/mathmas/core/symbol.rb |