Sha256: 15dbc915d22582f700f26eb9e2d94e40528ff29be419b63de49c2b962a833b10
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
# Author:: Nicolas Pouillard <ertai@lrde.epita.fr>. # Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved. # License:: LGPL # $Id: /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.3.6.1 | lib/uttk/weights/WMin.rb |
uttk-0.3.1.2 | lib/uttk/weights/WMin.rb |
uttk-0.3.5.0 | lib/uttk/weights/WMin.rb |