From cd5b4fa3dcee0fcb381ced3a8519a24508ac2a85 Mon Sep 17 00:00:00 2001 From: Conor Murnane Date: Fri, 9 Oct 2020 21:32:20 +0000 Subject: [PATCH] Done. --- greeting.rb | 9 +++++++++ lib/example.rb | 24 +++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 greeting.rb diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 0000000..c0fe5ce --- /dev/null +++ b/greeting.rb @@ -0,0 +1,9 @@ +def greeting + puts "Hello World!" +end + +greeting +greeting +greeting +greeting +greeting \ No newline at end of file diff --git a/lib/example.rb b/lib/example.rb index de7d2cb..821a20c 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -10,4 +10,26 @@ puts phrase puts phrase puts phrase -puts phrase \ No newline at end of file +puts phrase + +def say_hello_world_ten_times + phrase = "Hello World!" + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase +end +say_hello_world_ten + + + + + + + \ No newline at end of file