Class Index [+]

Quicksearch

Flt::PermilleTolerance

Implementation of permille (relative) tolerances

Public Class Methods

new(value) click to toggle source
     # File lib/flt/tolerance.rb, line 303
303:     def initialize(value)
304:       super
305:     end

Public Instance Methods

cast_value(num_class) click to toggle source
     # File lib/flt/tolerance.rb, line 309
309:     def cast_value(num_class)
310:       num_class.Num(@value)/num_class.Num(1000)
311:     end
to_s() click to toggle source
     # File lib/flt/tolerance.rb, line 306
306:     def to_s
307:       "#{descr_value}/1000"
308:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.