class Interview::Space

Attributes

style[RW]

Public Instance Methods

build(b) click to toggle source
# File lib/interview/controls/space.rb, line 6
def build(b)
  if @style and @style.to_sym == :line
    b << '<hr />'
  elsif @style and @style.to_sym == :break
    b << '<br />'
  else
    b << ' '
  end
end