Method: IsoDoc::Function::Form#text_input

Defined in:
lib/isodoc/function/form.rb

#text_input(out, length = 10) ⇒ Object



24
25
26
27
28
29
30
# File 'lib/isodoc/function/form.rb', line 24

def text_input(out, length = 10)
  length ||= 10
  length = length.to_i
  length.zero? and length = 10
  out << "_" * length
  out << " "
end