Sha256: 36f979d4fd9d4a3b7c43bb6a91554a158b6321657785df3db19dbce5ed3a8223

Contents?: true

Size: 327 Bytes

Versions: 6

Compression:

Stored size: 327 Bytes

Contents

module Foo
  attr_accessor :foo
  module_function :foo=, :foo
end

class Bar
  include Foo
end

Foo.foo = 42
Bar.new.foo = "str"

# XXX: the output may be improved

__END__
# Classes
module Foo
  self.@foo: Integer

  attr_accessor foo: untyped
  attr_accessor self.foo: Integer
end

class Bar
  include Foo
  @foo: String
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typeprof-0.14.1 smoke/attr-module.rb
typeprof-0.14.0 smoke/attr-module.rb
typeprof-0.13.0 smoke/attr-module.rb
typeprof-0.12.0 smoke/attr-module.rb
typeprof-0.11.0 smoke/attr-module.rb
typeprof-0.10.0 smoke/attr-module.rb