Sha256: 1e9948f15f490572df7fc470c6d337d7382fca48d1d12a865d51f3eccb35465b
Contents?: true
Size: 345 Bytes
Versions: 5
Compression:
Stored size: 345 Bytes
Contents
class Foo def initialize(a) @a = a end attr_reader :a attr_writer :b def get_b @b end attr_accessor :c end foo = Foo.new(:aaa) foo.b = :bbb foo.get_b foo.c = :ccc __END__ # Classes class Foo def initialize: (:aaa a) -> void attr_reader a: :aaa attr_writer b: :bbb def get_b: -> :bbb attr_accessor c: :ccc end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.20.0 | smoke/attr.rb |
typeprof-0.15.3 | smoke/attr.rb |
typeprof-0.15.2 | smoke/attr.rb |
typeprof-0.15.1 | smoke/attr.rb |
typeprof-0.15.0 | smoke/attr.rb |