thread

thread(key) Instance Public methods Returns the thread for the given key object, see search for more information.

size

size() Instance Public methods

validate

validate(compare_as, *args) Class Public methods

new

new(array_of_rows) Class Public methods Construct a new CSV::Table from array_of_rows, which are expected to be CSV::Row objects. All rows are assumed to have the same headers. A CSV::Table object supports the following Array methods through delegation: empty?() length() size()

bin_file

bin_file(name) Instance Public methods Returns the full path to an executable named name in this gem.

inspect

inspect() Instance Public methods

wrap

wrap(io, digests) Class Public methods Wraps io and updates digest for each of the digest algorithms in the digests Hash. Returns the digests hash. Example: io = StringIO.new digests = { 'SHA1' => OpenSSL::Digest.new('SHA1'), 'SHA512' => OpenSSL::Digest.new('SHA512'), } Gem::Package::DigestIO.wrap io, digests do |digest_io| digest_io.write "hello" end digests['SHA1'].hexdigest #=> "aaf4c61d[...]" digests['SHA512'].hexdigest #=> "9b71d224[...]"

report_constants

report_constants(cm) Instance Public methods Returns a report on undocumented constants in ClassModule cm

row

row() Instance Public methods

cp

cp(src, dest, options = {}) Class Public methods Options: preserve noop verbose Copies a file content src to dest. If dest is a directory, copies src to dest/src. If src is a list of files, then dest must be a directory. FileUtils.cp 'eval.c', 'eval.c.org' FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6' FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6', :verbose => true FileUtils.cp 'symlink', 'dest' # copy content, "dest" is not a symlink copy