rails/rails — pull request #3469 by kennyj (2011-10-30 13:08:34+00:00)
Title: Refactor ActiveSupport::Cache::FileStore.

From the perspective of consistency, we should use Object#in? method here (https://github.com/kennyj/rails/commit/7670a5187d2000a577c9aa982158808550033dfd#L0L166).
From the perspective of D.R.Y., we should replace an array (['.', '..']) with constant.