Sha256: 3bb7ecabee8d5640d22c98e16e7151f1c8924241c87c2df8fb6d0e9e063f4bce
Contents?: true
Size: 428 Bytes
Versions: 13
Compression:
Stored size: 428 Bytes
Contents
require_relative '../lib/progressrus' require 'rake' namespace :progressrus do namespace :store do desc "Flushes the current Progressrus.store." task :flush, :environment do |t, args| scope = *args raise ArgumentError.new("Must pass [scope] to progressrus:store:flush[scope(,parts)] task.") unless scope.length > 0 Progressrus.stores.first.flush(scope) if Progressrus.stores.first end end end
Version data entries
13 entries across 13 versions & 1 rubygems