From 57b7890ba9bdfbcc58ba99f2a6856c704f22a4a0 Mon Sep 17 00:00:00 2001 From: Hajer Thabet Date: Fri, 23 Apr 2021 19:51:09 +0000 Subject: [PATCH] Done. --- greeting.rb | 4 ++++ lib/example.rb | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 greeting.rb diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 00000000..5e2c655c --- /dev/null +++ b/greeting.rb @@ -0,0 +1,4 @@ +def greeting + puts "Hello World" +end +greeting diff --git a/lib/example.rb b/lib/example.rb index de7d2cbf..f2a60bde 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -1,5 +1,4 @@ -# Use this space to code along with the readme - +# Use this space to code along with the read puts phrase phrase = "Hello World!" puts phrase puts phrase @@ -7,7 +6,3 @@ puts phrase puts phrase puts phrase -puts phrase -puts phrase -puts phrase -puts phrase \ No newline at end of file