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