Sha256: 7a43e5a1bc1b74f76ae89d823831c83dce0b118859fa0b82bdece6325431aca3

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

def foo
  if rand < 0.5
    1
  end
end

def bar
  x = foo or raise("nil")
  x.times { }
end

__END__
# Classes
class Object
  private
  def foo: -> Integer?
  def bar: -> Integer
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/or_raise.rb
typeprof-0.15.3 smoke/or_raise.rb
typeprof-0.15.2 smoke/or_raise.rb
typeprof-0.15.1 smoke/or_raise.rb