From 90f49af98ce40038ffa85676cff742e337d0f019 Mon Sep 17 00:00:00 2001 From: Ryan Kendig Date: Fri, 9 Oct 2020 22:44:51 +0000 Subject: [PATCH] Done. --- parrot.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parrot.rb b/parrot.rb index 559309841..5b9f68c45 100644 --- a/parrot.rb +++ b/parrot.rb @@ -1,2 +1,6 @@ # Create method `parrot` that outputs a given phrase and # returns the phrase +def parrot(string = "Squawk!") +puts "#{string}" +"#{string}" +end \ No newline at end of file