Module: TMB

Defined in:
lib/tmb.rb

Constant Summary collapse

ROOT =
File.expand_path( File.join( File.dirname(__FILE__), ".."))

Class Method Summary collapse

Class Method Details

.require_lib(*paths) ⇒ Object



13
14
15
16
17
18
# File 'lib/tmb.rb', line 13

def require_lib(*paths)
  paths.each do |path|
    path = File.join([ ROOT, "lib", "tmb", path.to_s + ".rb" ].flatten)
    require path
  end
end