Sha256: c9cb91465f43d1c11e45c91313570d87cbf50b2c6a0fbc39fcb7037c8f75cd13
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
# Polish Number [![Code Climate](https://codeclimate.com/github/amberbit/polish_number.png)](https://codeclimate.com/github/amberbit/polish_number) [![Build Status](https://travis-ci.org/amberbit/polish_number.png?branch=master)](https://travis-ci.org/amberbit/polish_number) Translates numbers to Polish words. ## Installation Add this line to your application's Gemfile: gem 'polish_number' Note: in the past known as polish-number (dash instead of an underscore) -- before version 1.0.0. Old repo: https://github.com/wpiekutowski/polish-number And then execute: $ bundle Or install it yourself as: $ gem install polish_number ## Usage require 'polish_number' PolishNumber.translate(1234) #=> tysiąc dwieście trzydzieści cztery PolishNumber.translate(34, :currency => :PLN) #=> trzydzieści cztery złote PolishNumber.translate(12, :currency => :PLN) #=> dwanaście złotych ## Contributing 1. Fork it ( http://github.com/amberbit/polish_number/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request [![Analytics](https://ga-beacon.appspot.com/UA-49257773-1/README.md?pixel)](https://github.com/igrigorik/ga-beacon)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polish_number-1.1.0 | README.md |