class InterMine::PathQuery::SortOrder
Attributes
valid_directions[RW]
direction[RW]
Public Class Methods
new(path, direction)
click to toggle source
# File lib/intermine/query.rb 1390 def initialize(path, direction) 1391 direction = direction.to_s.upcase 1392 unless SortOrder.valid_directions.include? direction 1393 raise ArgumentError, "Illegal sort direction: #{direction}" 1394 end 1395 self.path = path 1396 self.direction = direction 1397 end
Public Instance Methods
to_s()
click to toggle source
# File lib/intermine/query.rb 1399 def to_s 1400 return @path.to_s + " " + @direction 1401 end