mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Dead code
This commit is contained in:
@@ -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] ||=
|
||||
|
||||
Reference in New Issue
Block a user