class Voom::Presenters::DSL::Components::Icon

Attributes

text[RW]

Public Class Methods

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