Last active
February 7, 2018 02:37
-
-
Save Killerkiwi2005/6d7fc533068796f7edcd70240f44071b to your computer and use it in GitHub Desktop.
Hello World
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Hello World Program in Ruby | |
| class Test | |
| attr_accessor :text | |
| def initialize | |
| @text = 'Hello World' | |
| end | |
| end | |
| a = Test.new | |
| puts a.text() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment