Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[VXA]toggle_sort
IceDragon200
Nov 10th, 2013
162
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#
def
toggle_sort
@sort
=
case
@sort
when
:price_high
then
:price_low
when
:price_low
then
:price_high
when
:a_z
then
:z_a
when
:z_a
then
:a_z
end
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Binance and Changelly Hacked
50 min ago | 0.43 KB
Crypto site - node admin access
50 min ago | 0.43 KB
Earn +12,000$ in 2 days
CSS | 50 min ago | 0.72 KB
Free Money Glitch
CSS | 50 min ago | 0.72 KB
Binance and Changelly Hacked
1 hour ago | 0.43 KB
Earn +12,000$ in 2 days
CSS | 1 hour ago | 0.72 KB
Free Money Glitch
CSS | 1 hour ago | 0.72 KB
Crypto site - node admin access
1 hour ago | 0.43 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!