Sha256: 4988a5cc0de75753646048fb9f332027172092d200618aba7c137bdfeb717cec

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

libs = Dir[File.join(File.join(File.dirname(__FILE__), 'darkext'), '*.rb')]

# Don't load these by default
other_libs = libs.reject! { |lib| lib.include?('sinatra') || lib.include?('sitemap') }

libs.reject! { |lib| lib.include?('beagle') }.first
libs.each { |lib| require lib }

# autoload beagle
autoload(:Beagle, 'darkext/beagle')

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
darkhelmet-darkext-0.11.0 lib/darkext.rb
darkhelmet-darkext-0.11.1 lib/darkext.rb
darkhelmet-darkext-0.11.2 lib/darkext.rb
darkhelmet-darkext-0.12.0 lib/darkext.rb
darkext-0.12.0 lib/darkext.rb