Created
September 18, 2009 20:53
-
-
Save mattetti/189283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def summer_monthly_usage | |
@summer_monthly_usage ||= rates.summer_months_nbr.inject(0) { |sum, m| sum + monthly_usage[m - 1] } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment