Sha256: f2bd8cd05e6d53690836b6e2f50c851b3be246890eb665b2882f390572bcaddb
Contents?: true
Size: 461 Bytes
Versions: 54
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true 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.positive? && cycles.to_i.positive? end end end end end
Version data entries
54 entries across 54 versions & 1 rubygems