Sha256: 194536e213f908177ff020ef26740345c3786608d1b0a8a5a9eb5ce3abc8d019

Contents?: true

Size: 366 Bytes

Versions: 28

Compression:

Stored size: 366 Bytes

Contents

class SuperBase
  def self.foo
    self
  end
end

class Base < SuperBase
  def self.foo
    super
  end
end

class A < Base
  foo
end

class B < Base
  foo
end

__END__
# Classes
class SuperBase
  def self.foo: -> (singleton(A) | singleton(B))
end

class Base < SuperBase
  def self.foo: -> (singleton(A) | singleton(B))
end

class A < Base
end

class B < Base
end

Version data entries

28 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/inheritance2.rb
typeprof-0.20.0 smoke/union-recv.rb
typeprof-0.15.3 smoke/union-recv.rb
typeprof-0.15.3 smoke/inheritance2.rb
typeprof-0.15.2 smoke/inheritance2.rb
typeprof-0.15.2 smoke/union-recv.rb
typeprof-0.15.1 smoke/union-recv.rb
typeprof-0.15.1 smoke/inheritance2.rb
typeprof-0.15.0 smoke/inheritance2.rb
typeprof-0.15.0 smoke/union-recv.rb
typeprof-0.14.1 smoke/inheritance2.rb
typeprof-0.14.1 smoke/union-recv.rb
typeprof-0.14.0 smoke/inheritance2.rb
typeprof-0.14.0 smoke/union-recv.rb
typeprof-0.13.0 smoke/inheritance2.rb
typeprof-0.13.0 smoke/union-recv.rb
typeprof-0.12.0 smoke/inheritance2.rb
typeprof-0.12.0 smoke/union-recv.rb
typeprof-0.11.0 smoke/inheritance2.rb
typeprof-0.11.0 smoke/union-recv.rb