# XDG v0.4.0 released

**URL:** <https://www.ruby-forum.com/t/xdg-v0-4-0-released/151852>\
**Category:** Ruby\
**Created:** [October 26, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/xdg-v0-4-0-released/151852 "2008-10-26T23:54:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 26, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/xdg-v0-4-0-released/151852/1 "2008-10-26T23:54:44Z")

</div>

= XDG 0.4 hits the streets!

[http://xdg.rubyforge.org](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][XDG Base Directory Specification](http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html)

### 0.4.0 / 2008-10-26

- Renamed instance level methods without ‘xdg\_’ prefix.
- Replace \_file methods with \_find and \_glob methods.
