RubyGems Navigation menu

is_prime 0.0.1

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

Gemfile
          gem 'is_prime', '~> 0.0.1'
  
  
  
  
  
  
  

install
          gem install is_prime
  
  
  
  
  
  
  

Authors:

  • Linus Oleander

Owners:

Total downloads 1,251

For this version 1,251

Required Ruby Version: None

Links:

Versions:

  1. 0.0.1 - May 15, 2011 (5 KB)

Development Dependencies: