From 043c007fd079325b8432e4560fc99a6ea5b70af1 Mon Sep 17 00:00:00 2001 From: Lauren Reed Date: Sun, 11 Nov 2018 14:35:47 +0000 Subject: [PATCH] Done. --- lib/a_division_by_zero_error.rb | 2 +- lib/a_name_error.rb | 4 ++-- lib/a_syntax_error.rb | 2 +- lib/a_type_error.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/a_division_by_zero_error.rb b/lib/a_division_by_zero_error.rb index fa27ef36..21979952 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 / 1 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb index bad266d9..023e8a18 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 +puts hello_world \ No newline at end of file diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb index 5252c8f7..040359d0 100644 --- a/lib/a_syntax_error.rb +++ b/lib/a_syntax_error.rb @@ -1,3 +1,3 @@ x = 1 -x = +puts x diff --git a/lib/a_type_error.rb b/lib/a_type_error.rb index 1217fd52..2de2a11e 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 + "is the loneliest number"