Closed funatsufumiya closed 7 years ago
Thank you for your reporting.
romaji/core_ext/string
is presupposed that romaji
is required. So your code may work with adding require "romaji"
.
I'll look into omitting require "romaji"
on using only core_ext in future versions.
@makimoto Adding require "romaji"
before all, it worked! Thank you :)
require "romaji"
require "romaji/core_ext/string"
puts "tesuto".kana #=> テスト
My misreading of the README caused this trouble, sorry.
I tried using this library like below.
but it raised
undefined method 'normalize' for Romaji:Module (NoMethodError).
The installation directory and the version of my ruby are below.