Sha256: b130c83280cba7f93e8fe5f4b5e266c5b54cc799b21eb3a69361b76656699fc0
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 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 attr_reader a: :aaa attr_writer b: :bbb attr_accessor c: :ccc def initialize: (:aaa) -> :aaa def get_b: -> :bbb end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.9.2 | smoke/attr.rb |
typeprof-0.9.1 | smoke/attr.rb |
typeprof-0.9.0 | smoke/attr.rb |