Class Index [+]

Quicksearch

Flt::PercentTolerance

Implementation of percent (relative) tolerances

Public Class Methods

new(value) click to toggle source
     # File lib/flt/tolerance.rb, line 290
290:     def initialize(value)
291:       super
292:     end

Public Instance Methods

cast_value(num_class) click to toggle source
     # File lib/flt/tolerance.rb, line 296
296:     def cast_value(num_class)
297:       num_class.Num(@value)/num_class.Num(100)
298:     end
to_s() click to toggle source
     # File lib/flt/tolerance.rb, line 293
293:     def to_s
294:       "#{descr_value}%"
295:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.