RubyGems.org

is_prime

0.0.1

Is the given number a prime number? 3.prime? # => true 4.prime? # => false

installgem install is_prime
Authors

Linus Oleander

1,195 total downloads 1,195 for this version
Owners

19adc8aa86a620a896e483d92488c414

Gemfile
gem 'is_prime', '~> 0.0.1'
Versions
  1. 0.0.1 May 15, 2011 (5 KB)
Development Dependencies
  1. rspec = 2.5.0