diff --git a/greeting.rb b/greeting.rb new file mode 100644 index 00000000..5e2c655c --- /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..f2a60bde 100644 --- a/lib/example.rb +++ b/lib/example.rb @@ -1,5 +1,4 @@ -# Use this space to code along with the readme - +# Use this space to code along with the read puts phrase phrase = "Hello World!" puts phrase puts phrase @@ -7,7 +6,3 @@ puts phrase puts phrase puts phrase -puts phrase -puts phrase -puts phrase -puts phrase \ No newline at end of file