From cde95dc78e4fab5dc9e45e7a359f77c759c8de1e Mon Sep 17 00:00:00 2001 From: Lucas Carlson Date: Thu, 17 Dec 2009 00:06:21 -0800 Subject: [PATCH] Fixing position of json require --- lib/contacts.rb | 1 - lib/contacts/json.rb | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/contacts.rb b/lib/contacts.rb index c0be1cb..e4ab4e5 100644 --- a/lib/contacts.rb +++ b/lib/contacts.rb @@ -7,4 +7,3 @@ require 'yahoo' require 'plaxo' require 'aol' -require 'json' \ No newline at end of file diff --git a/lib/contacts/json.rb b/lib/contacts/json.rb index 1ea0b16..89477fd 100644 --- a/lib/contacts/json.rb +++ b/lib/contacts/json.rb @@ -1,3 +1,5 @@ +require 'json' + class Contacts def self.parse_json( string ) if Object.const_defined?('ActiveSupport') and