diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-04 23:42:29 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-04 23:42:29 +0530 |
commit | 2076295abaf81997481138860eff855f7c1efa38 (patch) | |
tree | 8650cae293f9ca25564b291da4a3aafc8108d30c | |
parent | 3e7a8ccdc405b1cfbec4454339483fe8b2574e1b (diff) | |
download | rails-2076295abaf81997481138860eff855f7c1efa38.tar.gz rails-2076295abaf81997481138860eff855f7c1efa38.tar.bz2 rails-2076295abaf81997481138860eff855f7c1efa38.zip |
commented meta code
-rw-r--r-- | railties/lib/rails/paths.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb index 582c7685cf..5d217dcb10 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -156,17 +156,17 @@ module Rails %w(autoload_once eager_load autoload load_path).each do |m| class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{m}! - @#{m} = true - end - - def skip_#{m}! - @#{m} = false - end - - def #{m}? - @#{m} - end + def #{m}! # def eager_load! + @#{m} = true # @eager_load = true + end # end + # + def skip_#{m}! # def skip_eager_load! + @#{m} = false # @eager_load = false + end # end + # + def #{m}? # def eager_load? + @#{m} # @eager_load + end # end RUBY end |