Dead code

This commit is contained in:
Yehuda Katz
2009-12-24 21:46:47 -08:00
parent 0a365d63f6
commit baaaf2acaa

View File

@@ -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] ||=