diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-08-01 20:20:00 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-08-01 20:20:00 -0700 |
commit | 747d0173fdbee31e3e4d16f3137ed4662a199619 (patch) | |
tree | 16883ece788f2704d1fe0afe9f394caba294c2b9 /libmpd.rb | |
parent | de8af9212c4bd91bff7356d20e8aa47139d30e46 (diff) | |
download | ruby-libmpd-747d0173fdbee31e3e4d16f3137ed4662a199619.tar.gz ruby-libmpd-747d0173fdbee31e3e4d16f3137ed4662a199619.tar.xz |
Use absolute paths with require.
Diffstat (limited to 'libmpd.rb')
-rw-r--r-- | libmpd.rb | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -9,12 +9,15 @@ # *Author*:: David Vazgenovich Shakaryan # *License*:: GNU General Public License v3 + require 'socket' -require 'libmpd/database' -require 'libmpd/playbackcontrol' -require 'libmpd/playbackoptions' -require 'libmpd/playlist' -require 'libmpd/status' + +MODULE_PATH = File.dirname(__FILE__) + '/libmpd/' +require MODULE_PATH + 'database' +require MODULE_PATH + 'playbackcontrol' +require MODULE_PATH + 'playbackoptions' +require MODULE_PATH + 'playlist' +require MODULE_PATH + 'status' class TrueClass # :nodoc: def to_i |