Sha256: d66fafcffe6597da5d6dc2b1917a6c9ce73bcf574f3667d6d0b6dcc678eb75d9
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
module MovingAverage module Errors #:nodoc: class InvalidIndexError < IndexError def message 'Given idx is outside the Array.' end end class InvalidTailError < RangeError def message 'Given tail is <= 0.' end end class NotEnoughDataError < ArgumentError def message 'Given tail is too large for idx.' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
moving_average-0.1.1 | lib/moving_average/errors.rb |
moving_average-0.1.0 | lib/moving_average/errors.rb |
moving_average-0.0.4 | lib/moving_average/errors.rb |