aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorMyron Marston <myron.marston@gmail.com>2011-04-03 02:43:11 +0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-04-28 10:23:48 +0800
commit5d20c0a64aafa4d35f5aa0613cc16170c2a2ec03 (patch)
tree6ae0c74fb3850ccc0e8d61f388debf32a655d16f /activemodel
parentbed6a775df086c58e7129805dec4cbe755856df2 (diff)
downloadrails-5d20c0a64aafa4d35f5aa0613cc16170c2a2ec03.tar.gz
rails-5d20c0a64aafa4d35f5aa0613cc16170c2a2ec03.tar.bz2
rails-5d20c0a64aafa4d35f5aa0613cc16170c2a2ec03.zip
Wrap line that is over 200 characters long. Now it's much easier to read.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/observing.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/observing.rb b/activemodel/lib/active_model/observing.rb
index 3c80d584fe..4e9a305d9d 100644
--- a/activemodel/lib/active_model/observing.rb
+++ b/activemodel/lib/active_model/observing.rb
@@ -76,7 +76,11 @@ module ActiveModel
elsif observer.respond_to?(:instance)
observer.instance
else
- raise ArgumentError, "#{observer} must be a lowercase, underscored class name (or an instance of the class itself) responding to the instance method. Example: Person.observers = :big_brother # calls BigBrother.instance"
+ raise ArgumentError,
+ "#{observer} must be a lowercase, underscored class name (or an " +
+ "instance of the class itself) responding to the instance " +
+ "method. Example: Person.observers = :big_brother # calls " +
+ "BigBrother.instance"
end
end