class Teneo::DataModel::Format

Constants

CATEGORY_LIST

Public Class Methods

all_tags() click to toggle source
# File lib/teneo/data_model/format.rb, line 11
def self.all_tags
  result = []
  CATEGORY_LIST.each do |category|
    result << category
    result += self.where(category: category).pluck(:name)
  end
  result
end