Sha256: 8449f639b6608e9dfe3b926960e2210dba8d7eee597a6a81dd1a31d0057d382f

Contents?: true

Size: 480 Bytes

Versions: 8

Compression:

Stored size: 480 Bytes

Contents

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

class C
  include Foo
end

class D
  include Foo
end

class E
  include Foo
end

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

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

class C
  include Foo
end

class D
  include Foo
end

class E
  include Foo
end

Version data entries

8 entries across 8 versions & 1 rubygems

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