Sha256: 76e6c30064fc68b9cf1ffcd919881065f20021015e5f12eb62dfe4f642e23b57
Contents?: true
Size: 412 Bytes
Versions: 5
Compression:
Stored size: 412 Bytes
Contents
# Author:: Nicolas Pouillard <ertai@lrde.epita.fr>. # Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved. # License:: LGPL # $Id: WFloat.rb 567 2005-04-13 08:00:06Z polrop $ module TTK module Weights class WFloat < Weight def get return to_f if nan? (to_f * 100).floor.to_s + '%' end end # class WFloat end # module Weights end # module TTK
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ttk-0.1.576 | lib/ttk/weights/WFloat.rb |
ttk-0.2.1 | lib/ttk/weights/WFloat.rb |
ttk-0.1.579 | lib/ttk/weights/WFloat.rb |
ttk-0.1.580 | lib/ttk/weights/WFloat.rb |
ttk-0.2.0 | lib/ttk/weights/WFloat.rb |