Hi.I tried to make a simple app like showing a window that says:Good
morning!
And I tried this code:
alert “Good morning”
But it isn’t working when I try to run it in CMD(going in CMD and throw
it in the CMD window). It just says:
C:/Documents and Settings/radu/Desktop/goodmorning.rb:1:in <main>': undefined method
alert’ for main:Object (NoMethodError)
And when I put the code in Hackety Hack and RubyKids it is working