class Sortable::Column

Attributes

column[R]
method[R]
name[R]
scope[R]

Public Class Methods

new(name, scope = nil, column: name, method: nil) click to toggle source
# File lib/sortable.rb, line 23
def initialize(name, scope = nil, column: name, method: nil)
  @name = name
  @column = column
  @method = method
  @scope = scope
end