diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 00000000..3014e6d5 --- /dev/null +++ b/greeting.rb @@ -0,0 +1,4 @@ +def greeting + puts "Hello World" +end +greeting diff --git a/lib/example.rb b/lib/example.rb index de7d2cbf..a55a025f 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -1,5 +1,4 @@ -# Use this space to code along with the readme - +def say_hello_world_ten_times phrase = "Hello World!" puts phrase puts phrase @@ -10,4 +9,6 @@ puts phrase puts phrase puts phrase -puts phrase \ No newline at end of file +puts phrase +end +say_hello_world_ten_times