Sha256: 4fd1eb56bde53ffca43ffc4b91b1c3b6281dfad5af0599739ccb78bee583855a

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 Bytes

Contents

# Load a few things to make our lives easier elsewhere.
module MetricFu
  LIB_ROOT = File.dirname(__FILE__)
end
base_dir = File.join(MetricFu::LIB_ROOT, 'base')
generator_dir = File.join(MetricFu::LIB_ROOT, 'generators')
template_dir  = File.join(MetricFu::LIB_ROOT, 'templates')

# We need to require these two things first because our other classes
# depend on them.
require File.join(base_dir, 'report') 
require File.join(base_dir, 'generator')

# Now load everything else that's in the directory
Dir[File.join(base_dir, '*.rb')].each{|l| require l }
Dir[File.join(generator_dir, '*.rb')].each {|l| require l }
Dir[File.join(template_dir, 'standard/*.rb')].each {|l| require l}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
p8-metric_fu-0.9.0.1 lib/metric_fu.rb