Operator
@api private
# File lib/dm-core/query/direction.rb, line 31 def initialize(target, operator = :asc) super end
# File lib/dm-core/query/direction.rb, line 24 def get(resource) Sort.new(target.get(resource), @operator == :asc) end
# File lib/dm-core/query/direction.rb, line 18 def reverse! @operator = @operator == :asc ? :desc : :asc self end
[Validate]
Generated with the Darkfish Rdoc Generator 2.