Sha256: e61a6260e657054608a74fe8d31fb09d243fca96c2fd2b4506dab529aea51a3e
Contents?: true
Size: 174 Bytes
Versions: 2
Compression:
Stored size: 174 Bytes
Contents
module AttrPublicReadPrivateWrite def attr_public_read_private_write(*names) attr_accessor(*names) names.each do |name| private "#{name}=" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
0xfacet-typed-0.1.0 | lib/0xfacet/typed/attr_public_read_private_write.rb |
0xfacet-typed-0.0.1 | lib/0xfacet/typed/attr_public_read_private_write.rb |