Sha256: 5bd828d7a6ec5b2814bccf71d8c2a6989c1e722432971b5080c6f93073cb3e19

Contents?: true

Size: 227 Bytes

Versions: 23

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

require 'rake'

module KnapsackPro
  class TaskLoader
    include ::Rake::DSL

    def load_tasks
      Dir.glob("#{KnapsackPro.root}/lib/tasks/**/*.rake").each { |r| import r }
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
knapsack_pro-6.0.0 lib/knapsack_pro/task_loader.rb
knapsack_pro-5.7.0 lib/knapsack_pro/task_loader.rb
knapsack_pro-5.6.0 lib/knapsack_pro/task_loader.rb