lib/googleajax/as_hash.rb in googleajax-0.2.0 vs lib/googleajax/as_hash.rb in googleajax-1.0.0
- old
+ new
@@ -1,15 +1,2 @@
-# Include this file instead of googleajax so that results are simply hashes
-
-module GoogleAjax
- class Base < Hash
- def initialize(h)
- super()
- replace(h)
- end
-
- def self.remap(h)
- end
- end
-end
-
-require 'googleajax'
+warn "requiring 'googleajax/as_hash' is deprecated. Require 'googleajax' instead"
+require 'googleajax'
\ No newline at end of file