diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 0000000..c68faea --- /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..d049c36 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -10,4 +10,15 @@ puts phrase puts phrase puts phrase -puts phrase \ No newline at end of file +puts phrase +phrase = "Hello World" +puts phrase +def say_hello_ten_times + phrase = "Hello World" + puts phrase + puts phrase +end +say_hello_ten_times + + + \ No newline at end of file