Sha256: 041eea3bd59f5e8d58b4db2c79a5b65a9d6c7ec84050799643354f610be96c8a

Contents?: true

Size: 474 Bytes

Versions: 8

Compression:

Stored size: 474 Bytes

Contents

module Foo
  @extended = []
  def self.extended(klass)
    @extended << klass
  end
end

class C
  extend Foo
end

class D
  extend Foo
end

class E
  extend Foo
end

__END__
# Classes
module Foo
  self.@extended: Array[singleton(C) | singleton(D) | singleton(E)]

  def self.extended: (singleton(C) | singleton(D) | singleton(E) klass) -> (Array[singleton(C) | singleton(D) | singleton(E)])
end

class C
  extend Foo
end

class D
  extend Foo
end

class E
  extend Foo
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/extended.rb
typeprof-0.15.3 smoke/extended.rb
typeprof-0.15.2 smoke/extended.rb
typeprof-0.15.1 smoke/extended.rb
typeprof-0.15.0 smoke/extended.rb
typeprof-0.14.1 smoke/extended.rb
typeprof-0.14.0 smoke/extended.rb
typeprof-0.13.0 smoke/extended.rb