Skip to content

Done #2214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Done #2214

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .learn
100644 → 100755
Empty file.
Empty file modified .rspec
100644 → 100755
Empty file.
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The interpreter does the best job it can to tell you what it thinks went wrong.

This is a [Ruby Error Type](http://www.ruby-doc.org/core-2.2.0/Exception.html).

You've solved games of *Clue* with less information. This is one of the best parts of programming: debugging and fixing errors. It's like you're a detective solving a crime. The only bad thing is that more often than not, you're also the criminal that caused the error in the first place.
You've solved games of *Clue* with less information. This is one of the most important parts of programming: debugging and fixing errors. It's like you're a detective solving a crime. The only bad thing is that more often than not, you're also the criminal that caused the error in the first place.

Errors are clues, and reading them is the interpreter telling you what to do to fix the program and move on.

Expand Down
2 changes: 1 addition & 1 deletion lib/a_division_by_zero_error.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
42 / 6

42 / 0
42 / 1
4 changes: 1 addition & 3 deletions lib/a_name_error.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
"hello world"

hello_world
hello_world = "hello world"
2 changes: 1 addition & 1 deletion lib/a_syntax_error.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
x = 1

x =
x = 2
2 changes: 1 addition & 1 deletion lib/a_type_error.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1 + 1

1 + "is the loneliest number"
"1" + "is the loneliest number"
Empty file modified spec/no_ruby_errors_spec.rb
100644 → 100755
Empty file.
Empty file modified spec/spec_helper.rb
100644 → 100755
Empty file.