Sha256: b2a345305caf9658fbe9afc0e25410e6ae282c5f935b94df917db8f16f3dec39
Contents?: true
Size: 548 Bytes
Versions: 1
Compression:
Stored size: 548 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) module Fabricator VERSION = '0.0.5' LIB_DIR = File.join(File.dirname(__FILE__), 'fabricator/') def self.require_all_libs_relative_to( fname, dir = nil ) dir ||= ::File.basename(fname, '.*') search_me = ::File.expand_path( ::File.join(::File.dirname(fname), dir, '*', '*.rb')) Dir.glob(search_me).sort.each {|rb| require rb} end end require Fabricator::LIB_DIR + 'configuration'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fabricator-0.0.5 | lib/fabricator.rb |