Class: KwalifyToJsonSchema::Issues

Inherits:
Array
  • Object
show all
Defined in:
lib/kwalify_to_json_schema/issues.rb

Overview

Used to hold issues encoutered while converting

Instance Method Summary collapse

Instance Method Details

#descriptions_uniqObject

Get an array with only one instance of each description



6
7
8
# File 'lib/kwalify_to_json_schema/issues.rb', line 6

def descriptions_uniq
  map(&:description).uniq
end