Sha256: af9dddb6b2dc931a88c81050159dc494f1d8cd3cced52e2bc2217dec61126a3d
Contents?: true
Size: 418 Bytes
Versions: 8
Compression:
Stored size: 418 Bytes
Contents
require_dependency "renalware/pd" module Renalware module PD module APD class NonTidalRegimeCalculations < RegimeCalculations def calculated_overnight_volume return INCALCULABLE unless volume_calculable? fill_volume * cycles end private def volume_calculable? fill_volume.to_i > 0 && cycles.to_i > 0 end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems