Welcome to F.Olvera @ CUNY Academic Commons
class HelloWorld def yourName(name) @name = name.capitalize end def sayHi puts "Hello #{@name}!" end end helloThere = HelloWorld.new("World") helloThere.sayHi
Just another CUNY Academic Commons site
Welcome to F.Olvera @ CUNY Academic Commons
class HelloWorld def yourName(name) @name = name.capitalize end def sayHi puts "Hello #{@name}!" end end helloThere = HelloWorld.new("World") helloThere.sayHi