Skip to content

Instantly share code, notes, and snippets.

@Lyuji282
Last active January 22, 2018 11:35
Show Gist options
  • Save Lyuji282/ddc41695aea42eb144a91fec421d8d70 to your computer and use it in GitHub Desktop.
Save Lyuji282/ddc41695aea42eb144a91fec421d8d70 to your computer and use it in GitHub Desktop.
require 'prime'
prime_num = 120
Prime.each(120){|a| puts a} 

official doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment