class Voom::Presenters::DSL::Components::TextArea
Attributes
cols[R]
rows[R]
Public Class Methods
new(**attribs_, &block)
click to toggle source
Calls superclass method
# File lib/voom/presenters/dsl/components/text_area.rb, line 8 def initialize(**attribs_, &block) super(type: :text_area, **attribs_, &block) @rows = attribs.delete(:rows) || default(:rows) @cols = attribs.delete(:cols) || default(:cols) unless full_width expand! end