lib/json_schema/schema.rb in json_schema-0.6.0 vs lib/json_schema/schema.rb in json_schema-0.6.1
- old
+ new
@@ -213,12 +213,10 @@
ReferenceExpander.new.expand!(self, options)
true
end
def inspect
- str = inspect_schema
- str = JSON.pretty_generate(str).gsub(/\\?"/, '') if str.is_a?(Hash)
- "\#<JsonSchema::Schema #{str}>"
+ "\#<JsonSchema::Schema>"
end
def inspect_schema
if reference
str = reference.to_s