class Arel::SelectManager

def order(*expr)

Experimental RBS support (using type sampling data from the type_fusion project).

def order: (*Array[Arel::Nodes::Ascending] expr) -> untyped

This signature was generated using 1 sample from 1 application.

def order(*expr)
  # FIXME: We SHOULD NOT be converting these to SqlLiteral automatically
  @ast.orders.concat expr.map { |x|
    STRING_OR_SYMBOL_CLASS.include?(x.class) ? Nodes::SqlLiteral.new(x.to_s) : x
  }
  self
end