Sha256: 42082f9a76365f55c82013027c0c4a634e69d4ce1133f7da7b7da01af85b728a

Contents?: true

Size: 836 Bytes

Versions: 1

Compression:

Stored size: 836 Bytes

Contents

module BrighterPlanet
  module Diet
    module Fallback
      def self.included(base)
        base.falls_back_on :size => 2150, # kcal https://brighterplanet.sifterapp.com/projects/30/issues/456
                           :red_meat_share => 0.0958, # https://brighterplanet.sifterapp.com/projects/30/issues/654/comments
                           :poultry_share => 0.0416,
                           :fish_share => 0.0059,
                           :eggs_share => 0.0098,
                           :nuts_share => 0.0209,
                           :dairy_share => 0.1116,
                           :cereals_and_grains_share => 0.2453,
                           :fruit_share => 0.0367,
                           :vegetables_share => 0.0514,
                           :oils_and_sugars_share => 0.3811
      end
    end
  end
end
   

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
diet-0.0.18 lib/diet/fallback.rb