Sha256: 25ad3be80d2942f1354c3bd7a45a0ece0ed78f1cfc74044d9bc6550ad30390e9

Contents?: true

Size: 63 Bytes

Versions: 13

Compression:

Stored size: 63 Bytes

Contents

class Integer
  def doubly_even?
    modulo(4).zero?
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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