Browse files

Dead code

  • Loading branch information...
1 parent 0a365d6 commit baaaf2acaa58748bf9dc49859d1bca3ed273dc65 Yehuda Katz committed Dec 24, 2009
Showing with 0 additions and 15 deletions.
  1. +0 −15 actionpack/lib/action_view/template.rb
View
15 actionpack/lib/action_view/template.rb
@@ -116,21 +116,6 @@ def #{method_name}(local_assigns)
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] ||=

0 comments on commit baaaf2a

Please sign in to comment.