tests/vendor/ceedling/lib/configurator_plugins.rb
def find_rake_plugins(config)
    plugins_with_path = []
    
    config[:plugins][:load_paths].each do |root|
      config[:plugins][:enabled].each do |plugin|
        rake_plugin_path = File.join(root, plugin, "#{plugin}.rake")
        if (@file_wrapper.exist?(rake_plugin_path))
          plugins_with_path << rake_plugin_path
          @rake_plugins << plugin
        end
      end
    end
    
    return plugins_with_path
  end
# gather up and return .rake filepaths that exist on-disk
gather up and return .rake filepaths that exist on-disk
gather up and return . rake filepaths that exist on - disk
def find_rake_plugins(config)
    plugins_with_path = []
    config[:plugins][:load_paths].each do |root|
      config[:plugins][:enabled].each do |plugin|
        rake_plugin_path = File.join(root, plugin, "#{plugin}.rake")
        if (@file_wrapper.exist?(rake_plugin_path))
          plugins_with_path << rake_plugin_path
          @rake_plugins << plugin
        end
      end
    end
    return plugins_with_path
  end
def find_rake_plugins ( config ) plugins_with_path = [ ] config [ :plugins ] [ :load_paths ] . each do | root | config [ :plugins ] [ :enabled ] . each do | plugin | rake_plugin_path = File . join ( root , plugin , "#{plugin}.rake" ) if ( @file_wrapper . exist? ( rake_plugin_path ) ) plugins_with_path << rake_plugin_path @rake_plugins << plugin end end end return plugins_with_path end
gather up and return .rake filepaths that exist on-disk
gather up and return . rake filepaths that exist on - disk
config