Sha256: e18391498aa18a17571b9ad31bf34287d8b65137a5828e6a65ba2dd86e578cf1

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

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

class Bar
  include Foo
end

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

__END__
# Classes
module Foo
  self.@foo: Integer

  attr_accessor foo: String
  attr_accessor self.foo: Integer
end

class Bar
  include Foo
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/attr-module.rb
typeprof-0.15.3 smoke/attr-module.rb
typeprof-0.15.2 smoke/attr-module.rb
typeprof-0.15.1 smoke/attr-module.rb
typeprof-0.15.0 smoke/attr-module.rb