"Jim Crossley" <jim / crossleys.org> schrieb im Newsbeitrag news:87650fuvvy.fsf / vaio.crossleys.net... >I have a Java application that I wish to port to Ruby. One of its > features is to convert a string of digits to a raw audio stream of > DTMF tones. > > So the Java jar file includes raw audio files for each digit. These > are loaded as resources from the classpath. > > What's the *right* way to do that in Ruby? Where do people typically > package resources for their applications? Never had that problem, but one way would be to place them beside the module ..rb file or in a subdirectory and load them via the module file's name. Regards robert