Class Index [+]

Quicksearch

Flt::RelativeTolerance

Implementation of relative tolerances

Public Class Methods

new(value) click to toggle source
     # File lib/flt/tolerance.rb, line 277
277:     def initialize(value)
278:       super
279:     end

Public Instance Methods

relative_to(x) click to toggle source
     # File lib/flt/tolerance.rb, line 280
280:     def relative_to(x)
281:       x.abs*cast_value(x.class)
282:     end
to_s() click to toggle source
     # File lib/flt/tolerance.rb, line 283
283:     def to_s
284:       "#{descr_value}/1"
285:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.