class Mexico::FileSystem::DesignComponent

A template class doing nothing.

Attributes

design[RW]

@todo data_type @todo content_structure @todo belongs to Design

Public Instance Methods

resources() click to toggle source

Returns a collection of resources that are associated with this design component. @return [Array<Resource>] an array of resources associated with this design component.

# File lib/mexico/file_system/design_component.rb, line 74
def resources
  @corpus.resources.select{ |i| i.design_component === self }
end