enebo / Purugin

Ruby Minecraft Plugin support on top of bukkit
238 stars 32 forks source link

Save purogo default directory as a relative path from CWD #33

Closed eregon closed 10 years ago

eregon commented 12 years ago

See #32. It's not very beautiful but requiring Pathname or such for a "relative_path_from" seems overkill.

Also it might fail if Dir.pwd returned a non symlink-expanded path but __FILE__ did (or the reverse). Hopefully this does not seem to happen (they are both fully expanded).