Method: Voom::Presenters::DSL::Components::Lists::Line#avatar

Defined in:
lib/voom/presenters/dsl/components/lists/line.rb

#avatar(avatar = nil, **attribs, &block) ⇒ Object



57
58
59
60
61
# File 'lib/voom/presenters/dsl/components/lists/line.rb', line 57

def avatar(avatar = nil, **attribs, &block)
  return @avatar if locked?
  @avatar = Avatar.new(parent: self, avatar: avatar,
                       **attribs, &block)
end