On 2002.07.19, Bob X <bobx / linuxmail.org> wrote:
> Why does Ruby do single quotes around package names?
> 
> Why not just:
> 
> require somepackage
> 
> Just a little question...

You can.  However, what does "require somepackage" really
mean?

You're trying to require the filename contained within the
locally scoped variable "somepackage".

For example:

    somepackage = 'a_package_name'
    require somepackage

Effectively, the same as:

    require 'a_package_name'

Does this make sense?

-- Dossy


-- Dossy

-- 
Dossy Shiobara                       mail: dossy / panoptic.com 
Panoptic Computer Network             web: http://www.panoptic.com/ 
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)