class Interview::HtmlControl
Public Instance Methods
build(b) { |html| ... }
click to toggle source
# File lib/interview/controls/html_control.rb, line 4 def build(b) html = ::Builder::XmlMarkup.new if block_given? yield html end b << html.target! end