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 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 fa27ef3..a7d7abd --- 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 / 0 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb old mode 100644 new mode 100755 index bad266d..1871a77 --- a/lib/a_name_error.rb +++ b/lib/a_name_error.rb @@ -1,3 +1,5 @@ "hello world" -hello_world +hello_world = "hello world" + +puts hello_world diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb old mode 100644 new mode 100755 index 5252c8f..c91f2a8 --- a/lib/a_syntax_error.rb +++ b/lib/a_syntax_error.rb @@ -1,3 +1,5 @@ x = 1 -x = +x = x + x + +puts x diff --git a/lib/a_type_error.rb b/lib/a_type_error.rb old mode 100644 new mode 100755 index 1217fd5..1689537 --- a/lib/a_type_error.rb +++ b/lib/a_type_error.rb @@ -1,3 +1,5 @@ -1 + 1 +x = 1 + 1 -1 + "is the loneliest number" +y = 1 + x + +puts y+x 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