Method: Conf.each_resource
- Defined in:
- lib/rake/config.rb
.each_resource(aPartialResourcePath, &aBlock) ⇒ Object
384 385 386 387 388 389 390 |
# File 'lib/rake/config.rb', line 384 def self.each_resource(aPartialResourcePath, &aBlock) @@recipePaths.each do | aRecipePath | aResourcePath = aRecipePath+aPartialResourcePath; next unless File.exists?(aResourcePath); aBlock.call(aResourcePath); end end |