aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-11-21 22:11:31 +0100
committerXavier Noria <fxn@hashref.com>2011-11-21 22:11:31 +0100
commit60e3e218c2336a6359b36e17213f31cc35e65bbf (patch)
tree20fc88c07b157a4bf02ded3809f81fada692db92 /activesupport
parent4c872c017b47120b95eb2acf1d3401bd937b0647 (diff)
downloadrails-60e3e218c2336a6359b36e17213f31cc35e65bbf.tar.gz
rails-60e3e218c2336a6359b36e17213f31cc35e65bbf.tar.bz2
rails-60e3e218c2336a6359b36e17213f31cc35e65bbf.zip
a couple of spurious spaces I saw in passing
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 6535cc1eb5..ba3064a24e 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -149,7 +149,7 @@ module ActiveSupport
# Create a new cache. The options will be passed to any write method calls except
# for :namespace which can be used to set the global namespace for the cache.
- def initialize (options = nil)
+ def initialize(options = nil)
@options = options ? options.dup : {}
end
@@ -538,7 +538,7 @@ module ActiveSupport
# Create an entry with internal attributes set. This method is intended to be
# used by implementations that store cache entries in a native format instead
# of as serialized Ruby objects.
- def create (raw_value, created_at, options = {})
+ def create(raw_value, created_at, options = {})
entry = new(nil)
entry.instance_variable_set(:@value, raw_value)
entry.instance_variable_set(:@created_at, created_at.to_f)