Method: MicroMicro::Collections::PropertiesCollection#names

Defined in:
lib/micro_micro/collections/properties_collection.rb

#namesArray<String>

Retrieve an Array of this collection’s unique Property names.

Returns:

  • (Array<String>)

See Also:



39
40
41
# File 'lib/micro_micro/collections/properties_collection.rb', line 39

def names
  @names ||= Set[*map(&:name)].to_a.sort
end