aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-26 03:43:34 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-26 03:56:19 -0300
commitea84b0c6183949750f0801db50d22e58d62ec024 (patch)
tree8572e85dccbee5f18af498b0a029431fdec17a6e /activesupport
parentb4615ff9796da03f7d3a4c4e7d1574100f470902 (diff)
downloadrails-ea84b0c6183949750f0801db50d22e58d62ec024.tar.gz
rails-ea84b0c6183949750f0801db50d22e58d62ec024.tar.bz2
rails-ea84b0c6183949750f0801db50d22e58d62ec024.zip
Remove unused variable
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/date_and_time/calculations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
index 56c1b06608..e703fca7a7 100644
--- a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
@@ -194,7 +194,7 @@ module DateAndTime
# Returns a new date/time representing the end of the year.
# DateTime objects will have a time set to 23:59:59.
def end_of_year
- result = change(:month => 12).end_of_month
+ change(:month => 12).end_of_month
end
alias :at_end_of_year :end_of_year