Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep Mª Bach committed Aug 30, 2010
1 parent f04d885 commit 0c3fbfc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.rdoc
@@ -1,11 +1,25 @@
= simple_currency

A really simple currency converter using Xurrency API. Install it as usual:
A really simple currency converter using Xurrency API.
Compatible with Ruby 1.8, 1.9 and JRuby.

gem sources -a http://gemcutter.org/
gem install simple_currency
== Installation

And all your numeric stuff gets this fancy DSL for free:
=== Rails 3

In your Gemfile:

gem "simple_currency"

=== Not using Rails?

Then you have to do a +gem install simple_currency+ and then require the gem manually:

require "simple_currency"

== Usage

Now all your numeric stuff gets this fancy DSL for free:

30.eur.to_usd
# => 38.08
Expand Down
1 change: 1 addition & 0 deletions simple_currency.gemspec
Expand Up @@ -32,6 +32,7 @@ Gem::Specification.new do |s|
"lib/core_ext/numeric.rb",
"lib/simple_currency.rb",
"lib/simple_currency/currency_convertible.rb",
"simple_currency.gemspec",
"spec/simple_currency_spec.rb",
"spec/spec_helper.rb"
]
Expand Down

0 comments on commit 0c3fbfc

Please sign in to comment.