Sha256: dc7245e94d988c1fb6020255d0282709d9f7c9499c2c1b76fa570b926f497aa7

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

# encoding: UTF-8

module Central
  module Devtools
    class Project
      class Initializer
        # Imports all devtools rake tasks into a project
        class Rake < self
          include AbstractType

          # Initialize rake tasks
          #
          # @return [undefined]
          # @api rpivate
          def self.call
            FileList.glob(RAKE_FILES_GLOB).each(&::Rake.application.method(:add_import))
            self
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
central-devtools-0.8.4 lib/central/devtools/project/initializer/rake.rb
central-devtools-0.8.3 lib/central/devtools/project/initializer/rake.rb