module Formnestic::FormBuilder

Public Instance Methods

resolve_row_removable(row_removable, record) click to toggle source
# File lib/formnestic/form_builder/table_form_builder.rb, line 206
def resolve_row_removable(row_removable, record)
  if row_removable.is_a?(Proc)
    row_removable.call(record)
  else
    row_removable
  end
end