Permalink
Browse files

Add example

  • Loading branch information...
1 parent 90f33c0 commit b5f78787b65af18e3215def755fe43d7a78467af @paul committed Apr 10, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 examples/simple.rb
View
@@ -0,0 +1,9 @@
+
+require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib/progress_bar'))
+
+bar = ProgressBar.new
+
+100.times do
+ sleep 0.1
+ bar.increment!
+end

0 comments on commit b5f7878

Please sign in to comment.