1. Computing

What's the difference between a quick script and a three hour project? The ability to quickly import some useful class into your program.

At the heart of any scripting language is the reusable component, and the backbone of the Ruby reusable component is the often overlooked require method. The Ruby distribution comes with a number of libraries you can use in your programs and there are hundreds more available on the RubyGems system, but the require method has many features and pitfalls missed even by experienced Ruby programmers.

October 7, 2008 at 3:38 am
(1) Ujjwal Trivedi says:

Whats the differene between include and require in ruby?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Top Related Searches
  • october 6
    1. About.com
    2. Computing
    3. Ruby

    ©2014 About.com. All rights reserved.