Sha256: 0a88d4a57a6ace704db69bfdd9ae4a55b4bff4d303d0a35468d8391db55cc9af

Contents?: true

Size: 106 Bytes

Versions: 20

Compression:

Stored size: 106 Bytes

Contents

# coding: utf-8
class Integer
  def refactorable?
    divides?(τ)
  end
  alias :tau? :refactorable?
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
numb-0.186.0 lib/numb/refactorable.rb
numb-0.185.0 lib/numb/refactorable.rb
numb-0.184.0 lib/numb/refactorable.rb
numb-0.181.0 lib/numb/refactorable.rb
numb-0.170.0 lib/numb/refactorable.rb
numb-0.152.0 lib/numb/refactorable.rb
numb-0.138.0 lib/numb/refactorable.rb
numb-0.125.0 lib/numb/refactorable.rb
numb-0.114.0 lib/numb/refactorable.rb
numb-0.111.0 lib/numb/refactorable.rb
numb-0.109.0 lib/numb/refactorable.rb
numb-0.99.0 lib/numb/refactorable.rb
numb-0.96.0 lib/numb/refactorable.rb
numb-0.89.0 lib/numb/refactorable.rb
numb-0.84.0 lib/numb/refactorable.rb
numb-0.77.0 lib/numb/refactorable.rb
numb-0.72.1 lib/numb/refactorable.rb
numb-0.72.0 lib/numb/refactorable.rb
numb-0.68.0 lib/numb/refactorable.rb
numb-0.63.0 lib/numb/refactorable.rb