Forum: Ruby XDG v0.4.0 released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7c239e756cb769598f6d9dd344f1efad?d=identicon&s=25 unknown (Guest)
on 2008-10-26 23:54
(Received via mailing list)
= XDG 0.4 hits the streets!

  http://xdg.rubyforge.org

XDG provides a module for supporting the XDG Base Directory Standard[1].

This release removes the xdg_ prefix from the instance-level method
names. Now module and instance levels are the same.

Also, data_file, config_file and cache_file have been replaced with
data_find, config_find, cache_find, data_glob, config_glob and
cache_glob.

What's next? Well, I can't say I'm fond of the term 'glob', so I may
rename that to 'map' or 'collect' (or 'select'?)  and then add the
ability to use blocks for matching too.

[1]http://standards.freedesktop.org/basedir-spec/base...


### 0.4.0 / 2008-10-26

* Renamed instance level methods without 'xdg_' prefix.
* Replace _file methods with _find and _glob methods.
This topic is locked and can not be replied to.