Sha256: b523137effbdd6d368e68cbfca9485331d168c6bef8be6f6ec31052b77e15d5c
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 Bytes
Contents
module Danica class Group < Common include ActiveModel::Model attr_accessor :value delegate :to_f, :valued?, to: :value def initialize(value) @value = wrap_value(value) end def to_tex "(#{value.to_tex})" end alias_method :to_gnu, :to_tex end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danica-2.0.4 | lib/danica/group.rb |