Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wrap line that is over 200 characters long. Now it's much easier to r…

…ead.
  • Loading branch information...
commit 5d20c0a64aafa4d35f5aa0613cc16170c2a2ec03 1 parent bed6a77
@myronmarston myronmarston authored dhh committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 activemodel/lib/active_model/observing.rb
View
6 activemodel/lib/active_model/observing.rb
@@ -76,7 +76,11 @@ def instantiate_observer(observer) #:nodoc:
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
Please sign in to comment.
Something went wrong with that request. Please try again.