Sha256: 7ac89e59bbca6a42d541d94091a4fcfb70c7743e2dd1431fc6878217d5161bfb

Contents?: true

Size: 212 Bytes

Versions: 14

Compression:

Stored size: 212 Bytes

Contents

def foo
  1.times do |_|
    return [:foo]
  end
end

def bar
  a = [:bar]
  1.times do |_|
    return a
  end
end

foo
bar

__END__
# Classes
class Object
  private
  def foo: -> [:foo]
  def bar: -> [:bar]
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/block12.rb
typeprof-0.15.3 smoke/block12.rb
typeprof-0.15.2 smoke/block12.rb
typeprof-0.15.1 smoke/block12.rb
typeprof-0.15.0 smoke/block12.rb
typeprof-0.14.1 smoke/block12.rb
typeprof-0.14.0 smoke/block12.rb
typeprof-0.13.0 smoke/block12.rb
typeprof-0.12.0 smoke/block12.rb
typeprof-0.11.0 smoke/block12.rb
typeprof-0.10.0 smoke/block12.rb
typeprof-0.9.2 smoke/block12.rb
typeprof-0.9.1 smoke/block12.rb
typeprof-0.9.0 smoke/block12.rb