提交 96cc2e83 编写于 作者: Y Yves Senn

Merge pull request #22333 from harrykiselev/patch-3

[ci skip] Update dirty.rb: documentation fix.
......@@ -26,6 +26,10 @@ module ActiveModel
#
# define_attribute_methods :name
#
# def initialize(name)
# @name = name
# end
#
# def name
# @name
# end
......@@ -54,7 +58,7 @@ module ActiveModel
#
# A newly instantiated +Person+ object is unchanged:
#
# person = Person.new
# person = Person.new("Uncle Bob")
# person.changed? # => false
#
# Change the name:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册