aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-05-04 23:42:29 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-05-04 23:42:29 +0530
commit2076295abaf81997481138860eff855f7c1efa38 (patch)
tree8650cae293f9ca25564b291da4a3aafc8108d30c /railties
parent3e7a8ccdc405b1cfbec4454339483fe8b2574e1b (diff)
downloadrails-2076295abaf81997481138860eff855f7c1efa38.tar.gz
rails-2076295abaf81997481138860eff855f7c1efa38.tar.bz2
rails-2076295abaf81997481138860eff855f7c1efa38.zip
commented meta code
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/paths.rb22
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