Sha256: 39c451b26df43fd70f3a6b12e192c95e5c4b391eed9c625b26b3c7325acc25eb

Contents?: true

Size: 262 Bytes

Versions: 14

Compression:

Stored size: 262 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
  private
  def foo: -> (Cell[:a1 | :a2, :b1 | :b2, :c1 | :c2])
  def bar: -> (:b1 | :b2)
end

Version data entries

14 entries across 14 versions & 1 rubygems

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