Sha256: 7c0dcc66ddb64ff2ee8a163dbca065f3f3645427b81aa88899f60bd7270578c0

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 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

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/attr-module.rb
typeprof-0.9.1 smoke/attr-module.rb
typeprof-0.9.0 smoke/attr-module.rb