From d28abb44db3ea523360a662ef0684f08d980daff Mon Sep 17 00:00:00 2001 From: bionickatana Date: Sat, 14 Nov 2026 22:34:06 -0700 Subject: [PATCH] Finished assignment --- lib/assignment.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/assignment.rb b/lib/assignment.rb index a7f0f61..852cf3c 100644 --- a/lib/assignment.rb +++ b/lib/assignment.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +# sffrozen_string_literal: true + # This file is where you (the student) will solve the homework. This file will # have many comments and will note where you need to make changes. @@ -13,6 +15,7 @@ class Assignment # This is our main task in this file. For this assignment we need to make the # text `Hello World` appear on the screen. + def say_text # Here is where you will change. In Ruby there are several ways to print # text. In this case, we can use either the `puts` or the `print` @@ -21,5 +24,6 @@ class Assignment # two functions and find the documentation. Becoming familar with this site # will be a great benifit later as you will easily be able to find # information about Ruby. + puts 'Hello World' end end