Permalink
Browse files

commented meta code

  • Loading branch information...
1 parent 3e7a8cc commit 2076295abaf81997481138860eff855f7c1efa38 @vijaydev vijaydev committed May 4, 2011
Showing with 11 additions and 11 deletions.
  1. +11 −11 railties/lib/rails/paths.rb
@@ -156,17 +156,17 @@ def last
%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

0 comments on commit 2076295

Please sign in to comment.