Skip to content

Commit

Permalink
commented meta code
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed May 4, 2011
1 parent 3e7a8cc commit 2076295
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions railties/lib/rails/paths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2076295

Please sign in to comment.