lib/roar/json/collection.rb in roar-1.0.4 vs lib/roar/json/collection.rb in roar-1.1.0

- old
+ new

@@ -1,3 +1,11 @@ -require "representable/json/collection" +require 'roar/json' -Roar::JSON::Collection = Representable::JSON::Collection \ No newline at end of file +module Roar::JSON + module Collection + include Roar::JSON + + def self.included(base) + base.send :include, Representable::Hash::Collection + end + end +end