class Voom::Presenters::DSL::Components::Lists::Header

Attributes

total_lines[RW]

Public Class Methods

new(**attribs_, &block) click to toggle source
Calls superclass method
# File lib/voom/presenters/dsl/components/lists/header.rb, line 9
def initialize(**attribs_, &block)
  super(type: :header, **attribs_, &block)
  @total_lines = attribs.delete(:total_lines) || 0
  expand!
end