|
|
|
|
|
by yincrash
1574 days ago
|
|
Even using the example on the github page, it gives me a crash - /Library/Ruby/Gems/2.6.0/gems/wordle_decoder-0.1.2/lib/wordle_decoder/wordle_share.rb:8:in `block in final_line?': undefined local variable or method `_1' for WordleDecoder::WordleShare:Class (NameError)
from /Library/Ruby/Gems/2.6.0/gems/wordle_decoder-0.1.2/lib/wordle_decoder/wordle_share.rb:8:in `any?'
from /Library/Ruby/Gems/2.6.0/gems/wordle_decoder-0.1.2/lib/wordle_decoder/wordle_share.rb:8:in `final_line?'
from /Library/Ruby/Gems/2.6.0/gems/wordle_decoder-0.1.2/bin/wordle_decoder:14:in `<top (required)>'
from /usr/local/bin/wordle_decoder:23:in `load'
from /usr/local/bin/wordle_decoder:23:in `<main>' |
|
I actually hadn't used that syntax before this project, was interested in trying it out. I'll document that it only works with 2.7 or later.