lib/basic_serializer/dsl.rb in basic_serializer-0.1.4 vs lib/basic_serializer/dsl.rb in basic_serializer-0.1.5

- old
+ new

@@ -25,10 +25,9 @@ def schema_ref(ref) @schema_ref ||= ref end def format(name, pretty: false) - @format ||= name - @format ||= pretty + @format ||= { name: name, pretty: pretty } end end end