Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
basic_block {}
basic_block { }
basic_block {  }

block_with_args {|var|}
block_with_args { |var|}
block_with_args { |var| }
block_with_args { |var|  }

multi_line_braces {
  
}
multi_line_braces {
  stuff
}
multi_line_braces { |var|
  stuff
}

block_with_string { |line| puts "#{i += 1}. " + line }
block_with_hash { |var| h = {1 => 2, 3 => 4} }

outer { nested { } }

single_line do end
single_line do  end

with_args do|var|end
with_args do |var|end
with_args do |var| end
  
normal do
  
end
normal do
  stuff
end

normal_with_args do|var|
  
end
normal_with_args do |var|
  
end

multi_line do
  one
  two
  three
end

outer do
  nested do
    
  end
end

xml_escape_test      = 1 & 2 < 3
$snippet_escape_test = $0