RestPack / restpack_service

A base for RestPack services
MIT License
1 stars 0 forks source link

Remove the need to pass Dir.pwd to service loader #3

Closed GavinJoyce closed 11 years ago

GavinJoyce commented 11 years ago
RestPack::Service::Loader.load 'core', Dir.pwd

would be better as:

RestPack::Service::Loader.load 'core'

we can get the caller path from http://www.ruby-doc.org/core-2.0.0/Kernel.html#method-i-caller

GavinJoyce commented 11 years ago

https://github.com/RestPack/restpack_service/commit/3402458e6ed39a00aed848f5bb0fa31ce038e3de