README.md in private_attr-1.1.0 vs README.md in private_attr-2.0.0
- old
+ new
@@ -55,9 +55,10 @@
extend PrivateAttr
private_attr_accessor :foo
private_attr_reader :baz
private_attr_writer :bat
+ private_alias_method :bar, :foo
def initialize foo
self.foo = foo
end
end