Skip to content
Browse files

Get result to render JSON

  • Loading branch information...
1 parent 13303f9 commit 68d059dd58acb7c0724f2d4fc63b7044eeee897a @mtodd mtodd committed Apr 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/metrics/instruments/gauge.rb
View
2 lib/metrics/instruments/gauge.rb
@@ -11,7 +11,7 @@ def get
end
def to_s
- instance_exec(&@block).to_json
+ get.to_json
end
end

0 comments on commit 68d059d

Please sign in to comment.
Something went wrong with that request. Please try again.