diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 0000000..49dd2e8 --- /dev/null +++ b/greeting.rb @@ -0,0 +1,10 @@ +def greeting + phrase = "Hello World" + puts phrase + puts phrase + puts phrase + puts phrase + puts phrase +end + +greeting \ No newline at end of file diff --git a/lib/example.rb b/lib/example.rb index de7d2cb..afdb91e 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -1,13 +1,25 @@ # Use this space to code along with the readme -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 +phrase = "Hello World!" + +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_times + + + + + +