TaiwanAddress

Build Status Coverage Status

Installation

Install with application's Gemfile:

gem 'taiwan_address'

Or install it yourself as:

$ gem install taiwan_address

Usage

Reader

reader = TaiwanAddress::Reader.new(203, :"zh-TW")
reader.zone # => "基隆市"
reader.district # => "中山區"
reader.address # => "基隆市 中山區"

reader.locale = :en
reader.zone # => "Keelung City"
reader.district # => "Zhongshan District"
reader.address # => "Keelung City Zhongshan District"

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

Contributing

Details in CONTRIBUTING

Feel free to send pull request!

License

The gem is available as open source under the terms of the MIT License.