Sha256: b4418eab034161be87a339a85b1160b2e395688f8260819a580e042f598114e3

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

module Forcast
	module Tasks
		class Railtie
		  def self.tasks
		    path = File.expand_path(__dir__)
			arr = Dir.glob("#{path}/**/*.rake")
			puts arr
			return arr
		  end
		  def self.load_all_tasks
		    path = File.expand_path(__dir__)
			Dir.glob("#{path}/**/*.rake").each { |t| load t}
		  end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forcast-0.0.110 lib/forcast/tasks/all.rb