class Interview::Section

Attributes

style[RW]

Public Instance Methods

build(b) { || ... } click to toggle source
# File lib/interview/controls/section.rb, line 8
def build(b)
  style = @style || :div
  b.html.tag! style.to_sym, options_to_html do
    yield if block_given?
  end
end