Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
briandmcnabb committed Feb 10, 2012
1 parent fbc242b commit 00b9479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Then bundle:

=== Column Sorter

Just instantiation the +ColumnSorter+ class with the class to be sorted; then pass the +params[:column]+ and +params[:direction]+ to the methods of the same name to sanitize / defaultize the inputs.
Just instantiation the +ColumnSorter+ class with the class and pass the pertinent parameters to it.

sort = ColumnSorter.new(klass)
sort.column(params[:column])
Expand Down

0 comments on commit 00b9479

Please sign in to comment.