Module: Jbuilder::SkipFormatting

Defined in:
lib/jbuilder/schema/template.rb

Constant Summary collapse

SCHEMA_KEYS =
%i[type items properties]

Instance Method Summary collapse

Instance Method Details

#format(key) ⇒ Object



324
325
326
# File 'lib/jbuilder/schema/template.rb', line 324

def format(key)
  SCHEMA_KEYS.include?(key) ? key : super
end