class TextFieldRow

Public Instance Methods

cell_type() click to toggle source
# File lib/project/rows/text_field_row.rb, line 5
def cell_type
  TextFieldCell
end
height() click to toggle source
# File lib/project/rows/text_field_row.rb, line 9
def height
  100
end
update_cell(cell) click to toggle source
Calls superclass method TextInputRow#update_cell
# File lib/project/rows/text_field_row.rb, line 13
def update_cell(cell)
  super

  cell.placeholder = options.fetch(:placeholder, 'Write something...')
end