Finished assignment
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# sffrozen_string_literal: true
|
||||||
|
|
||||||
# This file is where you (the student) will solve the homework. This file will
|
# 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.
|
# 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
|
# This is our main task in this file. For this assignment we need to make the
|
||||||
# text `Hello World` appear on the screen.
|
# text `Hello World` appear on the screen.
|
||||||
|
|
||||||
def say_text
|
def say_text
|
||||||
# Here is where you will change. In Ruby there are several ways to print
|
# 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`
|
# 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
|
# 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
|
# will be a great benifit later as you will easily be able to find
|
||||||
# information about Ruby.
|
# information about Ruby.
|
||||||
|
puts 'Hello World'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user