Project

nihongo

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
日本語のカタカナ、ひらがな、半角、全角変換を行う事が出来ます。
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

Nihongo

Gem Version Build Status Dependency Status Code Climate Coverage Status

日本語のカタカナ、ひらがな、半角、全角変換を行う事が出来ます。:jp:

Installation

Add this line to your application's Gemfile:

gem 'nihongo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nihongo

Usage

Stringに生えています。

[1] 2.1.2(main)> require 'nihongo'
=> true
[2] 2.1.2(main)> 'コンニチハ〜'.to_hiragana
=> "こんにちは〜"
[3] 2.1.2(main)> 'いいお天気ですね'.to_katakana
=> "イイオ天気デスネ"
[4] 2.1.2(main)> 'Rubyダイ好キデス!'.to_zenkaku
=> "Rubyダイ好キデス!"
[5] 2.1.2(main)> '私はver2.1.2です~'.to_hankaku
=> "私はver2.1.2です~"

Contributing

  1. Fork it ( https://github.com/linyows/nihongo/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 a new Pull Request

Authors

License

The MIT License (MIT)