Sha256: f4d0dcb14f8517dc70a5e9dce3c7df3aa15a77318ec4e661ab5784919fa219d6
Contents?: true
Size: 428 Bytes
Versions: 5
Compression:
Stored size: 428 Bytes
Contents
# Author:: Nicolas Pouillard <ertai@lrde.epita.fr>. # Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved. # License:: LGPL # $Id: WMin.rb 567 2005-04-13 08:00:06Z polrop $ module TTK module Weights class WMin < WFloat def normalize ( weight ) (to_f == @max) ? self.class.new(:PASS) : self.class.new(:FAIL) end end # class WMin 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/WMin.rb |
ttk-0.1.580 | lib/ttk/weights/WMin.rb |
ttk-0.2.0 | lib/ttk/weights/WMin.rb |
ttk-0.2.1 | lib/ttk/weights/WMin.rb |
ttk-0.1.579 | lib/ttk/weights/WMin.rb |