example/example.rb in strong_json-0.8.0 vs example/example.rb in strong_json-0.9.0

- old
+ new

@@ -1,10 +1,10 @@ Schema = _ = StrongJSON.new do # @type self: AddressSchema let :address, object(address: string, country: symbol?) let :email, object(email: string) - let :contact, enum(address, email) + let :contact, enum?(address, email) let :person, object(name: string, contacts: array(contact)) end person = Schema.person.coerce(nil)