aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYehuda Katz <wycats@Yehuda-Katz.local>2009-12-24 21:46:47 -0800
committerYehuda Katz <wycats@Yehuda-Katz.local>2009-12-24 21:50:17 -0800
commitbaaaf2acaa58748bf9dc49859d1bca3ed273dc65 (patch)
treeb786c0a19c99091c056c1ab4db5e8873356fffcc
parent0a365d63f6fc99ce63781a15aefda87c4074108d (diff)
downloadrails-baaaf2acaa58748bf9dc49859d1bca3ed273dc65.tar.gz
rails-baaaf2acaa58748bf9dc49859d1bca3ed273dc65.tar.bz2
rails-baaaf2acaa58748bf9dc49859d1bca3ed273dc65.zip
Dead code
-rw-r--r--actionpack/lib/action_view/template.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/actionpack/lib/action_view/template.rb b/actionpack/lib/action_view/template.rb
index a64ee09245..d46c989d11 100644
--- a/actionpack/lib/action_view/template.rb
+++ b/actionpack/lib/action_view/template.rb
@@ -116,21 +116,6 @@ module ActionView
end
end
- class LocalsKey
- @hash_keys = Hash.new {|h,k| h[k] = Hash.new {|h,k| h[k] = {} } }
-
- def self.get(*locals)
- @hash_keys[*locals] ||= new(klass, format, locale)
- end
-
- attr_accessor :hash
- def initialize(klass, format, locale)
- @hash = locals.hash
- end
-
- alias_method :eql?, :equal?
- end
-
def build_method_name(locals)
# TODO: is locals.keys.hash reliably the same?
@method_names[locals.keys.hash] ||=