class Esquema::Builder
def excluded_column?(column_name)
-
(Boolean)
- True if the column is excluded, false otherwise.
Parameters:
-
column_name
(String
) -- The name of the column.
def excluded_column?(column_name) raise ArgumentError, "Column name must be a string" unless column_name.is_a? String config.excluded_columns.include?(column_name.to_sym) end