Skip to content

Instantly share code, notes, and snippets.

@dancsiqueira
Last active December 21, 2015 17:59
Show Gist options
  • Select an option

  • Save dancsiqueira/6344240 to your computer and use it in GitHub Desktop.

Select an option

Save dancsiqueira/6344240 to your computer and use it in GitHub Desktop.
instructions.rb
games = ClickJogos::Game.all; nil
nonstandard_instruction_games = []
games.each do |game|
if game.instructions.lines.count > 5
puts game.name
nonstandard_instruction_games << game
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment