class Yaqb::Presenter

Attributes

filter_attributes[RW]
sort_attributes[RW]

Public Class Methods

filter_by(*args) click to toggle source
# File lib/yaqb/presenter.rb, line 15
def filter_by(*args)
  @filter_attributes = args.map(&:to_s)
end
sort_by(*args) click to toggle source
# File lib/yaqb/presenter.rb, line 11
def sort_by(*args)
  @sort_attributes = args.map(&:to_s)
end