Permalink
Browse files

`responds_to' => `respond_to'

Typo that was missed by the author, code reviewer, and merger.
  • Loading branch information...
1 parent 8673500 commit 54dc43a923d0d1b5329620754c21edceeb9a05d7 Adam Derewecki committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mogli/client.rb
View
@@ -209,7 +209,7 @@ def constantize_string(klass)
end
def determine_class(klass_or_klasses,data)
- if data.responds_to?(:has_key?) && data.has_key('type') &&
+ if data.respond_to?(:has_key?) && data.has_key('type') &&
klass_or_klasses == Mogli::Model
return constantize_string(data['type'])
end

0 comments on commit 54dc43a

Please sign in to comment.