Name : rubygem-polyglot
| |
Version : 0.3.1
| Vendor : Dag Apt Repository, http://dag_wieers_com/apt/
|
Release : 1.el5.rf
| Date : 2011-11-15 16:05:02
|
Group : Development/Languages
| Source RPM : rubygem-polyglot-0.3.1-1.el5.rf.src.rpm
|
Size : 0.05 MB
| |
Packager : Steve Huff < shuff_vecna_org>
| |
Summary : Allow custom language loaders to be hooked into Ruby\'s require
|
Description :
Polyglot provides a registry of file types that can be loaded by calling its improved version of ‘require’. Each file extension that can be handled by a custom loader is registered by calling Polyglot.register(“ext”, < class>), and then you can simply require “somefile”, which will find and load “somefile.ext” using your custom loader.
This supports the creation of DSLs having a syntax that is most appropriate to their purpose, instead of abusing the Ruby syntax.
Required files are attempted first using the normal Ruby loader, and if that fails, Polyglot conducts a search for a file having a supported extension.
|
RPM found in directory: /mirror/vol5/apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS |