Method: Interview::Attribute#build

Defined in:
lib/interview/controls/attribute.rb

#build(b, &block) ⇒ Object



43
44
45
46
47
48
49
# File 'lib/interview/controls/attribute.rb', line 43

def build(b, &block)
  if @style == 'write'
    build_write(b, &block)
  else
    build_read(b, &block)
  end
end