class Interview::Glyphicon
Attributes
image[RW]
Public Instance Methods
build(b)
click to toggle source
# File lib/interview/controls/glyphicon.rb, line 8 def build(b) html_class = @html_class if @image == 'caret' html_class << 'caret' else html_class += ["glyphicon", "glyphicon-#{@image}"] end b.section style: 'span', html_class: html_class, html_options: @html_options end