提交 92a6cf0a 编写于 作者: O Oscar Del Ben

Improve example in initializer

上级 418fb912
......@@ -42,7 +42,7 @@ module ActiveModel
# include ActiveModel::Model
# attr_accessor :id, :name, :omg
#
# def initialize(attributes)
# def initialize(attributes={})
# super
# @omg ||= true
# end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册