Top Level Namespace

Defined Under Namespace

Modules: BabushkaVizSandbox Classes: BlackHoleStub, File, String

Constant Summary collapse

FILE_READ =
File.method(:read)
Babushka =
BlackHoleStub

Instance Method Summary collapse

Instance Method Details

#load_deps(dep_dir) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/babushka-viz/deps.rb', line 3

def load_deps(dep_dir)
  Dir["#{dep_dir}/**/*.rb"].each do |f|
    BabushkaVizSandbox.load_deps_from(f)
  end

  BabushkaVizSandbox.deps.each do |name, dep|
    dep.load
  end

  return BabushkaVizSandbox.deps
end