module Voom::Presenters::DSL::Components::Mixins::Avatar
Public Instance Methods
avatar(avatar = nil, **attribs, &block)
click to toggle source
# File lib/voom/presenters/dsl/components/mixins/avatar.rb, line 7 def avatar(avatar = nil, **attribs, &block) self << Components::Avatar.new(parent: self, avatar: avatar, **attribs, &block) end