-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for endless method definitions (#405)
* Fixtures * Add support for endless method definitions
- Loading branch information
Showing
4 changed files
with
83 additions
and
42 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,13 @@ | ||
class ForWeiMu | ||
def we_are_both(travelers) = "dark-eyed with love".uppercase | ||
def self.and_both_possessed_of = white_cloud_mind | ||
|
||
private def why_set_out_for = EastMountain.when_here! | ||
def spring_grasses = grow_deeper_day.by_day? | ||
end | ||
|
||
def more_examples = begin | ||
dangerous_stuff! | ||
rescue | ||
puts "saved the day" | ||
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,13 @@ | ||
class ForWeiMu | ||
def we_are_both(travelers) = "dark-eyed with love".uppercase | ||
def self.and_both_possessed_of = white_cloud_mind | ||
|
||
private def why_set_out_for = EastMountain.when_here! | ||
def spring_grasses = grow_deeper_day.by_day? | ||
end | ||
|
||
def more_examples = begin | ||
dangerous_stuff! | ||
rescue | ||
puts("saved the day") | ||
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
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