class Voom::Presenters::DSL::Components::Separator
Attributes
padding[R]
Public Class Methods
new(**attribs_, &block)
click to toggle source
Calls superclass method
Voom::Presenters::DSL::Components::Base::new
# File lib/voom/presenters/dsl/components/separator.rb, line 8 def initialize(**attribs_, &block) super(type: :separator, **attribs_, &block) padding = attribs.delete(:padding) {:full} @padding = validate_padding(coerce_padding(padding)).uniq if padding != nil expand! end