Skip to content

Commit 1700234

Browse files
committed
Update README. :doc:
1 parent 169d860 commit 1700234

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ pkg
66
tmp
77
doc
88
web
9-
Gemfile.lock
9+
*.lock
10+
*.gem

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
[HOME](http://rubyworks.github.com/ansi) ·
44
[API](http://rubydoc.info/gems/ansi/frames) ·
5-
[MAIL](http://googlegroups.com/group/rubyworks-mailinglist) ·
65
[ISSUES](http://github.com/rubyworks/ansi/issues) ·
76
[SOURCE](http://github.com/rubyworks/ansi)
87

@@ -56,6 +55,14 @@ the system.
5655

5756
## Installation
5857

58+
### Bundler
59+
60+
Add the usual `gem` line to your project's `Gemfile`.
61+
62+
gem 'ansi'
63+
64+
And run then `bundle` command.
65+
5966
### RubyGems
6067

6168
To install with RubyGems simply open a console and type:

demo/04_progressbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Calling this methods is the same as calling:
5252
pbar.format("%-14s %3d%% %s %s",:title, :percentage, :bar, :stat_for_file_transfer)
5353
run(pbar)
5454

55-
The `#style` setter allows each part of the line be modified with ANSI codes. And the
56-
`#bar_mark` writer can be used to change the character used to make the bar.
55+
The `#style` setter allows each part of the line be modified with ANSI codes.
56+
And the `#bar_mark` writer can be used to change the character used to make the bar.
5757

5858
pbar.standard_mode
5959
pbar.style(:title => [:red], :bar=>[:blue])

0 commit comments

Comments
 (0)