Skip to content
This repository
Browse code

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

…ead.
  • Loading branch information...
commit 5d20c0a64aafa4d35f5aa0613cc16170c2a2ec03 1 parent bed6a77
Myron Marston myronmarston authored dhh committed

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 activemodel/lib/active_model/observing.rb
6 activemodel/lib/active_model/observing.rb
@@ -76,7 +76,11 @@ def instantiate_observer(observer) #:nodoc:
76 76 elsif observer.respond_to?(:instance)
77 77 observer.instance
78 78 else
79   - 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"
  79 + raise ArgumentError,
  80 + "#{observer} must be a lowercase, underscored class name (or an " +
  81 + "instance of the class itself) responding to the instance " +
  82 + "method. Example: Person.observers = :big_brother # calls " +
  83 + "BigBrother.instance"
80 84 end
81 85 end
82 86

0 comments on commit 5d20c0a

Please sign in to comment.
Something went wrong with that request. Please try again.