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