03-01-2010, 05:15 PM
kyonides Wrote:Well, jabber, then that means you haven't seen how you can create a hash in a very convenient way thanks to some new syntactic sugar found in Ruby 1.9.1...
hash = {a: 2, b: 4}
It has Time class but not DateTime class... They're definitely not the same thing.
RGSS has hashes like that.
hash = {a => 2, b => 4}
Unless I'm supposed to be super-excited over using : instead of => for some reason...
And Ruby's Time class actually IS the same thing as a DateTime class, as it does both the date and the time:
http://www.ruby-doc.org/docs/Programming..._time.html
Still not following you here, sorry. ._.