Module: Tapsoob
- Defined in:
- lib/tapsoob/progress/bar.rb,
lib/tapsoob.rb,
lib/tapsoob/log.rb,
lib/tapsoob/utils.rb,
lib/tapsoob/config.rb,
lib/tapsoob/errors.rb,
lib/tapsoob/schema.rb,
lib/tapsoob/railtie.rb,
lib/tapsoob/version.rb,
lib/tapsoob/cli/root.rb,
lib/tapsoob/operation.rb,
lib/tapsoob/cli/schema.rb,
lib/tapsoob/data_stream.rb,
lib/tapsoob/operation/base.rb,
lib/tapsoob/operation/pull.rb,
lib/tapsoob/operation/push.rb,
lib/tapsoob/progress_event.rb,
lib/tapsoob/cli/data_stream.rb,
lib/tapsoob/data_stream/base.rb,
lib/tapsoob/data_stream/keyed.rb,
lib/tapsoob/progress/multi_bar.rb,
lib/tapsoob/data_stream/interleaved.rb,
lib/tapsoob/progress/thread_safe_bar.rb,
lib/tapsoob/data_stream/file_partition.rb,
lib/tapsoob/data_stream/keyed_partition.rb
Overview
Ruby/ProgressBar - a text progress bar library
Copyright © 2001-2005 Satoru Takabayashi <[email protected]>
All rights reserved.
This is free software with ABSOLUTELY NO WARRANTY.
You can redistribute it and/or modify it under the terms of Ruby’s license.
Defined Under Namespace
Modules: CLI, DataStream, Operation, Progress, ProgressEvent, Schema, Utils Classes: BaseError, Chunksize, Config, CorruptedData, DuplicatePrimaryKeyError, InvalidData, NotImplemented, Railtie
Constant Summary collapse
- VERSION =
"0.7.2".freeze
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exiting=(val) ⇒ Object
8 9 10 |
# File 'lib/tapsoob/config.rb', line 8 def self.exiting=(val) @@exiting = val end |
.log ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/tapsoob/log.rb', line 7 def self.log @@log ||= begin require 'logger' log = Logger.new(STDERR) log.level = Logger::INFO log.datetime_format = "%Y-%m-%d %H:%M:%S" log end end |
.log=(log) ⇒ Object
3 4 5 |
# File 'lib/tapsoob/log.rb', line 3 def self.log=(log) @@log = log end |
Instance Method Details
#exiting? ⇒ Boolean
12 13 14 |
# File 'lib/tapsoob/config.rb', line 12 def exiting? (@@exiting ||= false) == true end |