# File lib/neo4jr-social/format_handler.rb, line 17 def render_for_format(data) case format when :json : return JsonPrinter.render(data) when :html : return JsonPrinter.render_html(data) else fail("#{format} is not a supported MIME type") end end