# encoding: utf-8

module Devtools
  class Project
    class Initializer

      # Imports all devtools rake tasks into a project
      class Rake

        extend ::Rake::DSL

        def self.call
          FileList[RAKE_FILES_GLOB].each { |task| import(task) }
        end

      end # class Rake
    end # class Initializer
  end # class Project
end # module Devtools

# encoding: utf-8

module Devtools
  class Project
    class Initializer

      # Imports all devtools rake tasks into a project
      class Rake

        extend ::Rake::DSL

        def self.call
          FileList[RAKE_FILES_GLOB].each(&method(:import))
        end

      end # class Rake
    end # class Initializer
  end # class Project
end # module Devtools

Refactor iteration to use a method object instead of a proc
Refactor iteration to use a method object instead of a proc
