nashby/wtf_lang — Issue #4: Method Errors
Author: domness
Created: 2012-01-18 21:00:42+00:00
State: open

When using .lang

NoMethodError: undefined method `[]' for nil:NilClass
from /home/dwroblewski/.rvm/gems/ruby-1.8.7-p357/gems/wtf_lang-0.3.1/lib/wtf_lang/api.rb:30:in `detect'
from /home/dwroblewski/.rvm/gems/ruby-1.8.7-p357/gems/wtf_lang-0.3.1/lib/wtf_lang/core_ext/extension.rb:8:in `detect_lang'
from /home/dwroblewski/.rvm/gems/ruby-1.8.7-p357/gems/wtf_lang-0.3.1/lib/wtf_lang/core_ext/extension.rb:12:in `lang'
from (irb):7