Sha256: 8cb3795ef4addb656890efcdcd735f3cf362cbdd0eccb4038e10008c42a93107

Contents?: true

Size: 181 Bytes

Versions: 25

Compression:

Stored size: 181 Bytes

Contents

#This class a nil check
class NilCheck
  def initialize(number)
    @number = number
  end

  def nil_check
    @number.times do |number|
      next if number.nil?
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
preek-1.7.0 spec/test_files/nil_check.rb
preek-1.6.0 spec/test_files/nil_check.rb
guard-preek-0.0.9 spec/test_files/nil_check.rb
preek-1.5.1 spec/test_files/nil_check.rb
guard-preek-0.0.8 spec/test_files/nil_check.rb
preek-1.5.0 spec/test_files/nil_check.rb
preek-1.4.3 spec/test_files/nil_check.rb
preek-1.4.2 spec/test_files/nil_check.rb
preek-1.4.1 spec/test_files/nil_check.rb
guard-preek-0.0.7 spec/test_files/nil_check.rb
preek-1.4.0 spec/test_files/nil_check.rb
preek-1.3.2 spec/test_files/nil_check.rb
guard-preek-0.0.6 spec/test_files/nil_check.rb
guard-preek-0.0.5 spec/test_files/nil_check.rb
preek-1.3.1 spec/test_files/nil_check.rb
preek-1.2.1 spec/test_files/nil_check.rb
guard-preek-0.0.4 spec/test_files/nil_check.rb
guard-preek-0.0.3 spec/test_files/nil_check.rb
preek-1.1.0 spec/test_files/nil_check.rb
guard-preek-0.0.2 spec/test_files/nil_check.rb