From f44b437627f90d4706d7f3b1c00b3e204e44c16e Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 3 Feb 2015 07:33:38 -0200 Subject: Wrap method arguments with parentheses in docs As per Rails general coding conventions. Related to #18794 [ci skip] --- activemodel/lib/active_model/dirty.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index f5147d466e..977cccf5d0 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -26,7 +26,7 @@ module ActiveModel # # define_attribute_methods :name # - # def initialize name = nil + # def initialize(name = nil) # @name = name # end # -- cgit v1.2.3