Ruby 1.9 Hash syntax

Ruby code posted by murphy
created at 20 Feb 21:04, updated at 20 Feb 21:05

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
block.(*arguments)  # bovi's example

new = { hash: :syntax }
call(with, hash: :syntax)
this_crazy(hash: :syntax)
test hash: :syntax
test \
  hash: :syntax,
  multi: :line

more hash::tests
more hash:"tests"
more hash:42
more hash:??
more hash:{}
more hash:nil
more hash:foo
more hash://
_ _:_
313 Bytes in 2 ms with coderay