A silly gem but it helped me learn.

> ruby bin/console

>> Hiya.new
    ==>#<Hiya:0x3c80880>
>> Hiya.new.output
    ==>"Hello World and Hiya from Ruby Learning!"