Ruby notes
It is usually better to use !
rather than the more explicit == false
.
When using .try
with a method that takes options, pass them into try separated by commas:
.include?(q)
becomes .try(:include?, q)
0
Kudos
0
Kudos