Download and Install rb-multiton on Mac OS X
Tuesday the 8th of July, 2008

    rb-multiton  most recent diff


      View the most recent changes for the rb-multiton port at: rb-multiton.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-multiton.
      The raw portfile for rb-multiton is located here:
      http://rb-multiton.darwinports.com/dports/ruby/rb-multiton/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/rb-multiton
      Google
      Web Darwinports.com



      # $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp macports.org $
      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup multiton 1.0.2 copy_install:lib
      Maintainers: nomaintainer
      Description: The Multiton Design Pattern
      Long Description: The multiton pattern is similar to a singleton, but instead of only one instance, there are several similar instances. it's usefull when you want to avoid constructing objects many times because of some huge expence (connecting to a database for example), require a set of similar but not identical objects, and cannot easily control how many time a contructor may be called.
      checksums md5 15c7e51021825782f1713b4db36f466f
      Homepage: http://www.codeforpeople.com/lib/ruby/${ruby.module}/
      master_sites ${homepage}
      Platform: darwin
      extract.suffix .tgz

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/rb-multiton
      % sudo port install rb-multiton
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching rb-multiton
      ---> Verifying checksum for rb-multiton
      ---> Extracting rb-multiton
      ---> Configuring rb-multiton
      ---> Building rb-multiton with target all
      ---> Staging rb-multiton into destroot
      ---> Installing rb-multiton
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using rb-multiton with these commands:
      %  man rb-multiton
      % apropos rb-multiton
      % which rb-multiton
      % locate rb-multiton

     Where to find more information:

    Darwin Ports



    image test