Skip to content

Commit

Permalink
Merge pull request #23347 from yui-knk/explicitly_define_columns_as_i…
Browse files Browse the repository at this point in the history
…nterface

Explicitly define `columns` method as an interface
  • Loading branch information
rafaelfranca committed Jan 30, 2016
2 parents 8d30ef7 + 8b9d217 commit 4187699
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def index_exists?(table_name, column_name, options = {})

# Returns an array of Column objects for the table specified by +table_name+.
# See the concrete implementation for details on the expected parameter values.
def columns(table_name) end
def columns(table_name)
raise NotImplementedError, "#columns is not implemented"
end

# Checks to see if a column exists in a given table.
#
Expand Down

0 comments on commit 4187699

Please sign in to comment.