Class Index [+]

Quicksearch

Flt::EpsilonMixin

Mixin for tolerances defined by Epsilon or a multiple of it

Public Class Methods

new(mult=nil) click to toggle source
     # File lib/flt/tolerance.rb, line 485
485:     def initialize(mult=nil)
486:       @mult = mult || 1
487:       super nil
488:     end

Public Instance Methods

cast_value(num_class) click to toggle source
     # File lib/flt/tolerance.rb, line 489
489:     def cast_value(num_class)
490:       Tolerance.epsilon(num_class, @mult)
491:     end
descr_value() click to toggle source
     # File lib/flt/tolerance.rb, line 492
492:     def descr_value
493:       "#{@mult==1 ? '' : "#{@mult} "} eps."
494:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.