Sha256: 34b5e080f977be52180670abfabc0f6f35edf4019d3757c11920d5a5fbfdf232

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

# encoding: UTF-8

module Mojito::Rendering
	
	module Markup
		require 'json_builder'
		
		def generate_json(&block)
			response.write JSONBuilder::Compiler.generate(&block)
		end
		
	end
	
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mojito-0.2.6 lib/mojito/rendering/markup.rb