Sha256: 1cdf5374c5c53a557d8d53ae87e3e9ac46d35e093c55e9c74c213a8b91df84fc

Contents?: true

Size: 254 Bytes

Versions: 12

Compression:

Stored size: 254 Bytes

Contents

def foo
  cell = Cell.new(:a1, :b1, :c1)
  cell.set_a(:a2)
  cell.set_b(:b2)
  cell.set_c(:c2)
  cell
end

def bar
  foo.get_b
end

bar

__END__
# Classes
class Object
  def foo : -> (Cell[:a1 | :a2, :b1 | :b2, :c1 | :c2])
  def bar : -> (:b1 | :b2)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/rbs-tyvar2.rb
typeprof-0.6.1 smoke/rbs-tyvar2.rb
typeprof-0.6.0 smoke/rbs-tyvar2.rb
typeprof-0.5.4 smoke/rbs-tyvar2.rb
typeprof-0.5.3 smoke/rbs-tyvar2.rb
typeprof-0.5.2 smoke/rbs-tyvar2.rb
typeprof-0.5.1 smoke/rbs-tyvar2.rb
typeprof-0.5.0 smoke/rbs-tyvar2.rb
typeprof-0.4.2 smoke/rbs-tyvar2.rb
typeprof-0.4.1 smoke/rbs-tyvar2.rb
typeprof-0.4.0 smoke/rbs-tyvar2.rb
typeprof-0.3.0 smoke/rbs-tyvar2.rb