class Gyro::Generator::Json
Generates the JSON representation of the input datamodel
Public Class Methods
new(xcdatamodel)
click to toggle source
PUBLIC METHODS #######################################################
# File lib/gyro/generator/json.rb, line 24 def initialize(xcdatamodel) Gyro::Log.title('Generating JSON') puts JSON.pretty_generate(xcdatamodel.to_h) end