Sounds silly and obvious, But if we miss to run './rubytest' after installing ruby(any software, especially from source) we might land in big trouble. We might get the feeling that it got installed correctly but it may not. A random check in irb could show something like "123.12".to_f => 123123.0 Which is wrong, But ruby was installed fine.
I got the tests ran successfully later and "123.12".to_f gave me 123.12.
Open source enthusiastic. Loves Painting, photography and Music. I work on Ruby on Rails, migrated from Java.
Tuesday, 20 July 2010
Wednesday, 28 October 2009
Rails Scraps
Asynchronous ...mails using workling.
http://playtype.net/past/2008/11/11/sending_mail_asynchronously_in_rails/
http://playtype.net/past/2008/11/11/sending_mail_asynchronously_in_rails/
Wednesday, 17 September 2008
Ruby thoughts ... !!! Modules and Super classes
Ruby Consider Modules as super classes [Internally]. But My confusion is that there can be many modules either included or extended to a class where as only one Parent class is allowed [as in java] in Ruby... ? why.
Some thing to do with the meta class and the super pointers ..?
http://www.ruby-forum.com/user/edit?user_id=9378&key=07a73e03b847d2d6cc2767d9dde21829
Some thing to do with the meta class and the super pointers ..?
http://www.ruby-forum.com/
Ruby thoughts ... !!! Modules and Classes
Actually... the Module class of module is the superclass of the Class class of class. Got that? No? - good Now you have a reason to spent some time on Ruby :)
Subscribe to:
Posts (Atom)