class Fictium::SchemaEvaluator
Public Instance Methods
format(obj)
click to toggle source
# File lib/fictium/evaluators/schema_evaluator.rb, line 3 def format(obj) obj[:ref].present? ? { '$ref': obj[:ref] } : obj end