Sha256: 5f19bc294944f1c1f7d2ea0dc4ab25e332fcd885875e800a9a3863242e283c07

Contents?: true

Size: 534 Bytes

Versions: 11

Compression:

Stored size: 534 Bytes

Contents

unless defined? $__rq_recoverer__
  module RQ 
#--{{{
    LIBDIR = File::dirname(File::expand_path(__FILE__)) + File::SEPARATOR unless
      defined? LIBDIR

    require LIBDIR + 'mainhelper'

    class  Recoverer < MainHelper
#--{{{
      def recover
#--{{{
        set_q

        bool = @q.recover! ? true : false
        puts "---"
        puts "recovered : #{ bool }" 

        EXIT_SUCCESS
#--}}}
      end
      alias recover! recover
#--}}}
    end # class Recoverer 
#--}}}
  end # module RQ
$__rq_recoverer__ = __FILE__ 
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
rq-3.5.3 lib/rq/recoverer.rb
rq-3.5.1 lib/rq/recoverer.rb
rq-3.5.0 lib/rq/recoverer.rb
rq-ruby1.8-3.4.7 lib/rq/recoverer.rb
rq-ruby1.8-3.4.6 lib/rq/recoverer.rb
rq-ruby1.8-3.4.5 lib/rq/recoverer.rb
rq-ruby1.8-3.4.3 lib/rq/recoverer.rb
rq-3.0.0 lib/rq-3.0.0/recoverer.rb
rq-3.1.0 lib/rq-3.1.0/recoverer.rb
rq-3.3.0 lib/rq/recoverer.rb
rq-3.4.0 lib/rq/recoverer.rb