jsonorama 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jsonorama/version.rb +1 -1
- data/lib/jsonorama.rb +1 -1
- metadata +1 -1
data/lib/jsonorama/version.rb
CHANGED
data/lib/jsonorama.rb
CHANGED
@@ -3,7 +3,7 @@ Dir["#{File.dirname __FILE__}/jsonorama/*.rb"].each {|file| require "#{file}" }
|
|
3
3
|
module Jsonorama
|
4
4
|
#use on server and client to marshal to/from json
|
5
5
|
def self.json_response
|
6
|
-
r =
|
6
|
+
r = Jsonorama::JsonResponse.new
|
7
7
|
yield r if block_given?
|
8
8
|
r
|
9
9
|
end
|