Class: Symbol

Inherits:
Object show all
Defined in:
lib/og/vendor/kirbybase.rb

Overview


Symbol


Instance Method Summary collapse

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.



2938
2939
2940
# File 'lib/og/vendor/kirbybase.rb', line 2938

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.



2928
2929
2930
# File 'lib/og/vendor/kirbybase.rb', line 2928

def -@
    ("-"+self.to_s).to_sym
end