Class: Treequel::SortedResultsControl::Criterion

Inherits:
Struct
  • Object
show all
Defined in:
lib/treequel/controls/sortedresults.rb

Overview

A struct for tracking sorting criteria

Instance Attribute Summary collapse

Instance Attribute Details

#ordering_ruleObject

Returns the value of attribute ordering_rule

Returns:

  • (Object)

    the current value of ordering_rule



88
89
90
# File 'lib/treequel/controls/sortedresults.rb', line 88

def ordering_rule
  @ordering_rule
end

#reverse_orderObject

Returns the value of attribute reverse_order

Returns:

  • (Object)

    the current value of reverse_order



88
89
90
# File 'lib/treequel/controls/sortedresults.rb', line 88

def reverse_order
  @reverse_order
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



88
89
90
# File 'lib/treequel/controls/sortedresults.rb', line 88

def type
  @type
end