-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a non backward compatibility change. Before, one or more *consecutive* primary prompts >> were considered a single example. This is too fragile and dangerous. Consider the following (previous this commit) >> puts "a" # byexample: +pass >> puts "b" Which output is none: the +pass is affecting the 2-lines example. Now, if you add a single newline (probably for aesthetics purposes) >> puts "a" # byexample: +pass >> puts "b" The example is split in 2 and the second is has no the +pass option enabled. For this reason now each >> is a single example; for multiline examples we need to use .. We go from this >> def f >> 1 >> end to this >> def f .. 1 .. end
- Loading branch information
Showing
3 changed files
with
14 additions
and
41 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
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