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:
options[:tag] = ARGV.first if ARGV.any?
The
ARGV
constant 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
dmania
tag.Got that, makes sense now.
Will try it at home. You received a quest reward via memo ;)
Edit: WORKED!