diff --git a/.learn b/.learn old mode 100644 new mode 100755 diff --git a/.rspec b/.rspec old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100644 new mode 100755 diff --git a/LICENSE.md b/LICENSE.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index f9d60fca..cabe204a --- a/README.md +++ b/README.md @@ -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. diff --git a/lib/a_division_by_zero_error.rb b/lib/a_division_by_zero_error.rb old mode 100644 new mode 100755 index fa27ef36..21979952 --- a/lib/a_division_by_zero_error.rb +++ b/lib/a_division_by_zero_error.rb @@ -1,3 +1,3 @@ 42 / 6 -42 / 0 +42 / 1 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb old mode 100644 new mode 100755 index bad266d9..bf6751fa --- a/lib/a_name_error.rb +++ b/lib/a_name_error.rb @@ -1,3 +1 @@ -"hello world" - -hello_world +hello_world = "hello world" diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb old mode 100644 new mode 100755 index 5252c8f7..37c73155 --- a/lib/a_syntax_error.rb +++ b/lib/a_syntax_error.rb @@ -1,3 +1,3 @@ x = 1 -x = +x = 2 diff --git a/lib/a_type_error.rb b/lib/a_type_error.rb old mode 100644 new mode 100755 index 1217fd52..6284e4e3 --- a/lib/a_type_error.rb +++ b/lib/a_type_error.rb @@ -1,3 +1,3 @@ 1 + 1 -1 + "is the loneliest number" +"1" + "is the loneliest number" diff --git a/spec/no_ruby_errors_spec.rb b/spec/no_ruby_errors_spec.rb old mode 100644 new mode 100755 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb old mode 100644 new mode 100755