From 212c13c02c905aa0eef02e4e18040f7c686a38a6 Mon Sep 17 00:00:00 2001 From: interactive-tuple-7017 Date: Tue, 16 Mar 2021 19:20:31 +0000 Subject: [PATCH] Done. --- greeting.rb | 9 +++++++++ lib/example.rb | 26 ++++++++++++++------------ say_hello_world_ten_times | 0 3 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 greeting.rb create mode 100644 say_hello_world_ten_times diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 00000000..16df3619 --- /dev/null +++ b/greeting.rb @@ -0,0 +1,9 @@ +def greeting + puts "Hello World" +end + +greeting +greeting +greeting +greeting +greeting diff --git a/lib/example.rb b/lib/example.rb index de7d2cbf..4d9eae71 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -1,13 +1,15 @@ -# Use this space to code along with the readme +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 -phrase = "Hello World!" -puts phrase -puts phrase -puts phrase -puts phrase -puts phrase -puts phrase -puts phrase -puts phrase -puts phrase -puts phrase \ No newline at end of file + say_hello_world_ten_times \ No newline at end of file diff --git a/say_hello_world_ten_times b/say_hello_world_ten_times new file mode 100644 index 00000000..e69de29b