General

Some tricks that work in Ruby also work in Crystal. Some don't. Crystal has some tricks of its own, of course!

Iteration

(0..9).map{}  # returns an array
10.times{}  # returns nil
0.to 9{}   # also returns nil, but very short. always better than the previous line
("0".."9").map{}  # could occasionally be useful

String manipulation

"123abcABC".gsub{|c|c.ord}  # "495051979899656667"
[1, 2, 3].join{|x| 2*x}  # "246"

eval

`crystal eval "#{your code string here}"`

to eval your troubles away. Will that ever be good for golf? I don't know. If you want to use eval, you might want to use macros instead?