提交 a40b7159 编写于 作者: B Ben Orenstein 提交者: Mani Tadayon

Improve clarity of example. Make it follow guidelines for output display.

上级 797af0fa
......@@ -7,11 +7,11 @@ class Module
# attr_accessor_with_default :age, 25
# end
#
# some_person.age
# => 25
# some_person.age = 26
# some_person.age
# => 26
# person = Person.new
# person.age # => 25
#
# person.age = 26
# person.age # => 26
#
# To give attribute <tt>:element_name</tt> a dynamic default value, evaluated
# in scope of self:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册