Skip to content

Instantly share code, notes, and snippets.

@radar

radar/answers.rb Secret

Created September 19, 2018 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radar/f079875d0379600e9fc2446cb513ebf8 to your computer and use it in GitHub Desktop.
Save radar/f079875d0379600e9fc2446cb513ebf8 to your computer and use it in GitHub Desktop.
answers.select do |answer|
answer.question == question &&
answer.value < 3
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment