Method: God.load

Defined in:
lib/god.rb

.load(glob) ⇒ Object

Load the given file(s) according to the given glob.

glob - The glob-enabled String path to load.

Returns nothing.



641
642
643
644
645
# File 'lib/god.rb', line 641

def self.load(glob)
  Dir[glob].each do |f|
    Kernel.load f
  end
end