class Object

Public Instance Methods

require_local_libs(path, location=__FILE__) click to toggle source

Copyright muflax <mail@muflax.com>, 2013 License: GNU GPL 3 <www.gnu.org/copyleft/gpl.html>

# 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