README.rdoc in progress-0.0.8.1 vs README.rdoc in progress-0.0.9.0

- old
+ new

@@ -4,21 +4,46 @@ == DESCRIPTION: Class to show progress during console script run -== FEATURES/PROBLEMS: +== FEATURES: * Progress * Enclosed progress == SYNOPSIS: 1000.times_with_progress('Wait') do |time| - sleep(time * 0.0001) + puts time end + [1, 2, 3].with_progress('Wait').each do |i| + puts i + end + + (1..100).with_progress('Wait').each do |i| + puts i + end + + { + :a => 'a', + :b => 'b', + :c => 'c', + :d => 'd', + }.with_progress('Wait').each do |k, v| + puts "#{k} => #{v}" + end + + (1..10).with_progress('Outer').map do |a| + (1..10).with_progress('Middle').map do |b| + (1..10).with_progress('Inner').map do |c| + [a, b, c] + end + end + end + == REQUIREMENTS: * ruby == INSTALL: @@ -27,10 +52,10 @@ == LICENSE: (The MIT License) -Copyright (c) 2008 toy full name +Copyright (c) 2008 toy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, \ No newline at end of file