-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3633 from masatake/ruby--handle-curly-bracket
Ruby: handle curly bracket
- Loading branch information
Showing
7 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--sort=no | ||
--fields=+{end}{signature} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
__anona00f52fc0100 input.rb /^Class.new {$/;" c end:5 | ||
f input.rb /^ def f(n)$/;" S class:__anona00f52fc0100 signature:(n) end:4 | ||
x input.rb /^def x$/;" f signature:() end:9 | ||
__anone0f8ea590100 input-0.rb /^Class.new do$/;" c end:3 | ||
f0 input-0.rb /^ def f0(n) n end$/;" S class:__anone0f8ea590100 signature:(n) end:2 | ||
y input-0.rb /^def y$/;" f signature:() end:7 | ||
C input-1.rb /^class C$/;" c end:5 | ||
f1 input-1.rb /^ def f1(n) n end$/;" S class:C signature:(n) end:3 | ||
z input-1.rb /^def z$/;" f signature:() end:9 | ||
__anone0fa031b0100 input-2.rb /^Class.new {$/;" c end:3 | ||
f2 input-2.rb /^ def f2() end$/;" S class:__anone0fa031b0100 signature:() end:2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Class.new do | ||
def f0(n) n end | ||
end | ||
|
||
def y | ||
y | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class C | ||
class << self | ||
def f1(n) n end | ||
end | ||
end | ||
|
||
def z | ||
z | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Class.new { | ||
def f2() end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Class.new { | ||
def f(n) | ||
n | ||
end | ||
} | ||
|
||
def x | ||
x | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters