-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError: undefined method `language_iso' for "This is a test":String #34
Comments
Ah, I think the version that includes that hasn't been gemified yet - the latest version on rubygems.org is older than the head version here. You can specify this repo in your Gemfile if you want to resolve this immediately, however. |
Not sure if I'm having the same or a different issue - I did install from the GitHub repo and can't execute any of the examples using |
Steps to reproducerequire 'whatlanguage'
# => true
"".language
# NoMethodError: undefined method `language' for "":String
require 'whatlanguage/string'
# => true
"".language
# => nil Related PR: #31 |
Experimented a bit on Windows7 , 2.2.4p230, and after adding as suggested earlier
and finally the language method is found. |
When i try this "This is a test".language_iso # => :en i got this NoMethodError: undefined method `language_iso' for "This is a test":String
The text was updated successfully, but these errors were encountered: