Method: WWMD.libpath
- Defined in:
- lib/wwmd.rb
.libpath(*args) ⇒ Object
Returns the library path for the module. If any arguments are given, they will be joined to the end of the libray path using File.join.
40 41 42 |
# File 'lib/wwmd.rb', line 40 def self.libpath( *args ) args.empty? ? LIBPATH : ::File.join(LIBPATH, args.flatten) end |