Sha256: 4588803e124ddd9f8b27693b9abeed98f5190604975971e14ce461bdded7c5ad

Contents?: true

Size: 69 Bytes

Versions: 24

Compression:

Stored size: 69 Bytes

Contents

class Integer
  def composite?
    self > 1 and not prime?
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
numb-0.152.0 lib/numb/composite.rb
numb-0.138.0 lib/numb/composite.rb
numb-0.125.0 lib/numb/composite.rb
numb-0.114.0 lib/numb/composite.rb
numb-0.111.0 lib/numb/composite.rb
numb-0.109.0 lib/numb/composite.rb
numb-0.99.0 lib/numb/composite.rb
numb-0.96.0 lib/numb/composite.rb
numb-0.89.0 lib/numb/composite.rb
numb-0.84.0 lib/numb/composite.rb
numb-0.77.0 lib/numb/composite.rb
numb-0.72.1 lib/numb/composite.rb
numb-0.72.0 lib/numb/composite.rb
numb-0.68.0 lib/numb/composite.rb
numb-0.63.0 lib/numb/composite.rb
numb-0.21.0 lib/numb/composite.rb
numb-0.20.0 lib/numb/composite.rb
numb-0.10.0 lib/numb/composite.rb
numb-0.9.0 lib/numb/composite.rb
numb-0.8.0 lib/numb/composite.rb