You are viewing a single comment's thread from:
RE: How to Find Hidden Gems with Ruby
Worked flawless now =) Thank you, couldnt find the error. Alright, seems like my customizing works somehow. Can you explain me this part with the argv?:
options[:tag] = @ARGV if ARGV.any?
I m trying to wrap my head around ruby as a begginer, buts its kinda hard. Thank you for all your effort with your tutorials. They help me a lot :D
There's a typo too. It should be:
The
ARGVconstant is created by the ruby interpreter and just gives you access to the parameters passed when you launch. So, once you apply that fix, this command will work:And that will narrow down the query to the
dmaniatag.Got that, makes sense now.
Will try it at home. You received a quest reward via memo ;)
Edit: WORKED!