Skip to content

kenchasonakai/pharaoh_lang

Repository files navigation

PharaohLang

こんにちはヒエログリファーの皆さんこのgemは文字列をヒエログリフに変換するメソッドを提供するgemです

現在アルファベットのみに対応しています

インストール

Gemfileに下記の1行を追加してください:

gem 'pharaoh_lang'

そして下記のコマンドを実行してください:

$ bundle install

または下記コマンドで自分でインストールすることもできます:

$ gem install pharaoh_lang

使い方

文字列に対してto_hieroglyphメソッドを使うとヒエログリフに変換した文字列を返します

現在対応しているのはアルファベットのみのためその他の文字はそのまま出力されます

"roman".to_hieroglyph
=> '𓂋𓍯𓅓𓄿𓈖'

"1あaB".to_hieroglyph
=> '1あ𓄿𓃀'

Development

リポジトリを確認した後、依存関係をインストールするためbin/setupコマンドを実行してください

そして、rake specコマンドを実行しテストを走らせてください

bin/consoleを実行して対話式の実行環境で確認することもできます

このgemをあなたのローカル環境にインストールするためにbundle exec rake installコマンドを実行してください

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.

To install this gem onto your local machine, run bundle exec rake install.

Contributing

バグレポとプルリクエストは https://github.com/kenchasonakai/pharaoh_lang に送ってください

このプリジェクトは安全であることを意図されており、寄稿を歓迎します

その際、寄稿者はcode of conductを守ってください

Bug reports and pull requests are welcome on GitHub at https://github.com/kenchasonakai/pharaoh_lang.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

このgemは、MITライセンスの条件の下でオープンソースとして利用できます。

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

Code of Conduct

PharaohLangプロジェクトのコードベース、課題追跡システム、チャットルーム、およびメーリングリストでやり取りするすべての人は、code of conductに従うことが期待されています。

Everyone interacting in the PharaohLang project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published