From 42f2833733a1f696ab5ef74160e6570397e952ae Mon Sep 17 00:00:00 2001 From: sofia ongele Date: Sat, 15 Apr 2017 00:18:00 +0000 Subject: [PATCH] Done. --- lib/a_division_by_zero_error.rb | 2 +- lib/a_name_error.rb | 2 +- lib/a_syntax_error.rb | 2 +- lib/a_type_error.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/a_division_by_zero_error.rb b/lib/a_division_by_zero_error.rb index fa27ef36..aaec1f44 100644 --- 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 / 2 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb index bad266d9..fd012b53 100644 --- a/lib/a_name_error.rb +++ b/lib/a_name_error.rb @@ -1,3 +1,3 @@ -"hello world" +hello_world = "hello world" hello_world diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb index 5252c8f7..37c73155 100644 --- 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 index 1217fd52..36e6b4e3 100644 --- a/lib/a_type_error.rb +++ b/lib/a_type_error.rb @@ -1,3 +1,3 @@ 1 + 1 -1 + "is the loneliest number" +1.to_s + "is the loneliest number"