Sha256: 25f27c5f5a6f1750a87137d0cbedba85b93d60e4ba8f2d8f7848da5fb0307b0c
Contents?: true
Size: 527 Bytes
Versions: 9
Compression:
Stored size: 527 Bytes
Contents
module Danica class Wrapper::Group include Common include BaseOperations attr_accessor :value default_value :priority, 10 default_value :is_grouped?, true delegate :to_f, :valued?, to: :value def initialize(value) @value = wrap_value(value) end def to_tex "\\left(#{value.to_tex}\\right)" end def to_gnu "(#{value.to_gnu})" end def ==(other) return value == other unless other.is_a?(self.class) value == other.value end end end
Version data entries
9 entries across 9 versions & 1 rubygems