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

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

#body(*text, **attribs, &block) ⇒ Object



52
53
54
55
# File 'lib/voom/presenters/dsl/components/lists/line.rb', line 52

def body(*text, **attribs, &block)
  return @body if locked?
  @body = Components::Typography.new(parent: self, type: :body, text: text, **attribs, &block)
end