Sha256: 43a8336bb62e919a50dd39b21ad1be0b4d1e66966c194aef3db0d8952215f417

Contents?: true

Size: 224 Bytes

Versions: 7

Compression:

Stored size: 224 Bytes

Contents

module Exodus
  module RakeHelper
  	def time_it(task, &block)
		  puts "#{task} starting..."
		  start = Time.now
		  yield
		  puts "#{task} Done in (#{Time.now-start}s)!!"
		end

		def step
		  ENV['STEP']
		end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
exodus-1.1.7 lib/exodus/helpers/rake_helper.rb
exodus-1.1.6 lib/exodus/helpers/rake_helper.rb
exodus-1.1.5 lib/exodus/helpers/rake_helper.rb
exodus-1.1.4 lib/exodus/helpers/rake_helper.rb
exodus-1.1.3 lib/exodus/helpers/rake_helper.rb
exodus-1.1.2 lib/exodus/helpers/rake_helper.rb
exodus-1.1.1 lib/exodus/helpers/rake_helper.rb