summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/unparser/corpus/literal/defs.txt
blob: b70aa9efc5160d6b97e0f491ecb334eeeac3e858 (plain)
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
def self.foo
end

def self.foo
  bar
end

def self.foo
  bar
  baz
end

def Foo.bar
  bar
end

def (foo { |bar|
}).bar
  bar
end

def (foo(1)).bar
  bar
end

def (Foo::Bar.baz).bar
  baz
end

def (Foo::Bar).bar
  baz
end

def Foo.bar
  baz
end

def foo.bar
  baz
end