two other very small style things.
you had some extra space, and then people use . when calling class methods, not ::.
remove $stdin in favor of print
Nobody would recognize $stdin#<<.
Don't commit commented out code.
That's what git is for.
tab -> 2 spaces.
This is standard Ruby Style. Two spaces, never tabs.
missed a puts
added rudimentary cli, get more data