Hello there, this my first blog post.

1
2
3
4
5
6
7
8
9
10
11
class HelloWorld
   def initialize(name)
      @name = name.capitalize
   end
   def say
      puts "Hello #{@name}!"
   end
end

hello = HelloWorld.new("Max")
hello.say

Comments