3 4 5 6 7 8 9
# File 'lib/simple_schema/schema_properties.rb', line 3 def self.build(schema, options) if schema[:properties] schema[:type] = :object schema[:properties] = Schema.new(schema[:properties], options).schema end schema end