Sha256: 655854cbb587fd55ecae536c3ce54c84fc6aea5976587cb348ee8a564add8760

Contents?: true

Size: 83 Bytes

Versions: 13

Compression:

Stored size: 83 Bytes

Contents

class Integer
  def hamming?
    smooth?(5) 
  end
  alias :regular? :hamming?
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
numb-0.186.0 lib/numb/hamming.rb
numb-0.185.0 lib/numb/hamming.rb
numb-0.184.0 lib/numb/hamming.rb
numb-0.181.0 lib/numb/hamming.rb
numb-0.170.0 lib/numb/hamming.rb
numb-0.152.0 lib/numb/hamming.rb
numb-0.138.0 lib/numb/hamming.rb
numb-0.125.0 lib/numb/hamming.rb
numb-0.114.0 lib/numb/hamming.rb
numb-0.111.0 lib/numb/hamming.rb
numb-0.109.0 lib/numb/hamming.rb
numb-0.99.0 lib/numb/hamming.rb
numb-0.96.0 lib/numb/hamming.rb