Module: Voom::Presenters::DSL::Components::Mixins::ImageLists

Included in:
Common
Defined in:
lib/voom/presenters/dsl/components/mixins/image_lists.rb

Instance Method Summary collapse

Instance Method Details

#image_list(**attribs, &block) ⇒ Object



7
8
9
# File 'lib/voom/presenters/dsl/components/mixins/image_lists.rb', line 7

def image_list(**attribs, &block)
  self << Components::ImageList.new(parent: self, **attribs, &block)
end