class MicroMicro::Collections::ItemsCollection
Public Instance Methods
to_a()
click to toggle source
@return [Array<Hash{Symbol => Array<String, Hash>}>]
# File lib/micro_micro/collections/items_collection.rb, line 5 def to_a map(&:to_h) end
types()
click to toggle source
@return [Array<String>]
# File lib/micro_micro/collections/items_collection.rb, line 10 def types @types ||= map(&:types).flatten.uniq.sort end