Skip to main content

Ruby, Easy Development.

Hi guys,
Everything under this article (here i have mentioned very few things) is absolutely true and exercised..... because I am new to this language and I learned it very fast that I learned other languages and there are more to cover too....

If you are having basic theoretical knowledge on 'Object Oriented' concepts you are most welcome to Ruby..., You won't take more than 2 days to learn basic of the Ruby language. You will realise it once you are there......

Have fun with Ruby.....,


Ruby;

Ruby is a Object Oriented Programming language which is created by Yukihiro Matsumoto (Matz). He has often said that he is “trying to make Ruby natural, not simple,” in a way that mirrors life. It was first released on 1995. Since that growth of the Ruby language was unstoppable.

This marvelous, handy and artful language is absolutely free, not only free of charge but its free to use. You will feel like flying on the free sky when you develop applications with Ruby.

In Ruby, everything is an object. Even a primitive types like numbers in other languages. You have lots of methods on a number which you don't have in most of other OOP languages. Take a look at this;

5.times {print "We *love* Ruby -- it's outrageous!"}

In many languages, numbers and other primitive types are not objects. Ruby follows the influence of the Smalltalk language by giving methods and instance variables to all of its types.

Beyond the Basics;
Ruby has a wealth of other features, among which are the following:

  • Ruby has exception handling features, like Java or Python, to make it easy to handle errors.
  • Ruby features a true mark-and-sweep garbage collector for all Ruby objects. No need to maintain reference counts in extension libraries. As Matz says, “This is better for your health.”
  • Writing C extensions in Ruby is easier than in Perl or Python, with a very elegant API for calling Ruby from C. This includes calls for embedding Ruby in software, for use as a scripting language. A SWIG interface is also available.
  • Ruby can load extension libraries dynamically if an OS allows.
  • Ruby features OS independent threading. Thus, for all platforms on which Ruby runs, you also have multi threading, regardless of if the OS supports it or not, even on MS-DOS!
  • Ruby is highly portable: it is developed mostly on GNU/Linux, but works on many types of UNIX, Mac OS X, Windows 95/98/Me/NT/2000/XP, DOS, BeOS, OS/2, etc.

Comments

Nalin De Zoysa said…
great work buddy i appreciate your work.
Nalin De Zoysa said…
can u update it further
Anonymous said…
Edit the intro...where "articel" MUST BE "article"

gud attempt anyway

Popular posts from this blog

Gnome Dark Theme on Eclipse Luna

Hi, Most of you might still looking for a way to enable Gnome Dark Theme on Eclipse. Well you just have to follow 2 steps to get it done. Run Eclipse with following command env SWT_GTK3=1 /path-to-eclipse/eclipse Enable Dark theme on Eclipse Window -> Preferences -> General -> Appearance Select "Dark" as theme Let me know how it goes for you. Enjoy the Dark Theme ;)

Capturing echo Output into a Variable in PHP

Hi Guys, This is cool stuff. Did you ever know that you can capture the echo output in your PHP code? Since the echo function is void (which means returns nothing) you might have thought that is not possible on this Earth right? I thought that too. But guess what, this as easy as 4 lines.. :O Code:    ob_start();    echo 'Hello World!';    $hello_str   = ob_get_contents();    ob_end_clean(); That will store your "Hello World!" string into the $hello_str variable without actually echoing it on the browser. Give it a try fellas! ;-) Cheers.

Subclipse Not Working with Eclipse 3.7 (Indigo) on Fedora 17

Hi Everybody, I believe that most of the Eclipse lovers might have come across this issue by now. Couple of days back I moved to Fedora 17. As expected it was nice. But SVN function was broken on my Eclipse. Reason was all the svn libraries has been upgraded to version 1.7.5. Therefore all of the tools written to work with svn 1.6 libraries are useless now. You have to upgrade your Subclipse to version 1.8.7 . To do so first you have to uninstall the old Subclipse and related plug-ins from Eclipse and reinstall them using the Marketplace client which is so easy. Make sure you install the JavaHL Native Library Adapter (v1.7.4) for SVN too. You May easily do it with Yum (on RedHat based) or Aptitude (On Dabian based) Fedora users need to install the subversion-javahl package ( # yum install subversion-javahl ) Debian (Ubuntu) users need to install the libsvn-java package ( # aptitude install libsvn-java ) Not just that. If you are planing to stick to SVN 1.7 then you have...