Sha256: 4c95ef136ec177a9f5a10f0fc24e6a1f16fb3bdf550aabb23cf7e0712099f5d1
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
# Author:: Nicolas Pouillard <ertai@lrde.epita.fr>. # Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved. # License:: LGPL # $Id: /w/fey/uttk/trunk/lib/uttk/weights/WMin.rb 8778 2005-09-26T04:34:48.103938Z ertai $ module Uttk 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 Uttk
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uttk-0.4.5.0 | lib/uttk/weights/WMin.rb |
uttk-0.4.6.1 | lib/uttk/weights/WMin.rb |
uttk-0.4.6.2 | lib/uttk/weights/WMin.rb |