From 1029bd675a041b7920be589e0ec383d472824a44 Mon Sep 17 00:00:00 2001 From: Alie Stone Date: Fri, 14 Aug 2020 17:49:13 +0000 Subject: [PATCH] Done. --- lib/a_division_by_zero_error.rb | 2 -- lib/a_name_error.rb | 4 +--- lib/a_syntax_error.rb | 4 +--- lib/a_type_error.rb | 3 +-- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/a_division_by_zero_error.rb b/lib/a_division_by_zero_error.rb index fa27ef36..6341e1cf 100644 --- a/lib/a_division_by_zero_error.rb +++ b/lib/a_division_by_zero_error.rb @@ -1,3 +1 @@ 42 / 6 - -42 / 0 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb index bad266d9..15aaec76 100644 --- a/lib/a_name_error.rb +++ b/lib/a_name_error.rb @@ -1,3 +1 @@ -"hello world" - -hello_world +puts "hello world" diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb index 5252c8f7..776aef57 100644 --- a/lib/a_syntax_error.rb +++ b/lib/a_syntax_error.rb @@ -1,3 +1 @@ -x = 1 - -x = +puts 1 + 1 diff --git a/lib/a_type_error.rb b/lib/a_type_error.rb index 1217fd52..04cb1c4c 100644 --- a/lib/a_type_error.rb +++ b/lib/a_type_error.rb @@ -1,3 +1,2 @@ -1 + 1 +puts "1" + "1" -1 + "is the loneliest number"