Sha256: d9ba4faf391fda0336245bc2e822ebceca70306f0aaf0c1073e6e902df5852e2

Contents?: true

Size: 188 Bytes

Versions: 14

Compression:

Stored size: 188 Bytes

Contents

# RUBY_VERSION >= 3.0

def foo
  case { a: :A, b: :B, c: :C }
  in { a:, b: bb, c: :C }
    return a, bb
  end
end

foo
__END__
# Classes
class Object
  private
  def foo: -> [:A, :B]
end

Version data entries

14 entries across 14 versions & 1 rubygems

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