Class: Symbol
Overview
Symbol
Instance Method Summary collapse
-
#+@ ⇒ Object
———————————————————————– +@ ———————————————————————–.
-
#-@ ⇒ Object
———————————————————————– -@ ———————————————————————–.
Instance Method Details
#+@ ⇒ Object
+@
This allows you to put a plus sign in front of a field name in order to specify ascending sort order.
3891 3892 3893 |
# File 'lib/kirbybase.rb', line 3891 def +@ ("+"+self.to_s).to_sym end |
#-@ ⇒ Object
-@
This allows you to put a minus sign in front of a field name in order to specify descending sort order.
3881 3882 3883 |
# File 'lib/kirbybase.rb', line 3881 def -@ ("-"+self.to_s).to_sym end |