Method: Cathode::ObjectCollection#names

Defined in:
lib/cathode/object_collection.rb

#namesArray

An array of all the ‘name` properties in this object.

Returns:

  • (Array)


22
23
24
# File 'lib/cathode/object_collection.rb', line 22

def names
  objects.map(&:name)
end