Top Level Namespace

Defined Under Namespace

Modules: MPV

Instance Method Summary collapse

Instance Method Details

#require_local_libs(path, location = __FILE__) ⇒ Object

Copyright muflax <[email protected]>, 2013 License: GNU GPL 3 <www.gnu.org/copyleft/gpl.html>



6
7
8
9
10
# File 'lib/mpv-slave.rb', line 6

def require_local_libs path, location=__FILE__
  Dir["#{File.join(File.dirname(location), path)}/*.rb"].each do |lib|
    require lib
  end
end