Sha256: 82eae495db25beaf32b6bac1727312a8d7dc218804f4b3f2ddd5b02beedf91ba

Contents?: true

Size: 744 Bytes

Versions: 12

Compression:

Stored size: 744 Bytes

Contents

#
# The initializer for the gem. Runs whenever the gem is loaded.
#
# DON'T CHANGE THIS FILE, CHANGE config/gem.rb INSTEAD!
#

__END__

gem_root = File.expand_path(File.dirname(__FILE__))
gem_name = File.basename gem_root

require "rubygems"

load "#{gem_root}/config/gem.rb"
load "#{gem_root}/config/dependencies.rb"
load "#{gem_root}/lib/#{gem_name}.rb"

dirs = Dir.glob("#{gem_root}/lib/*").select do |dir|
  File.directory?(dir)
end.sort_by do |dir|
  dir.ends_with?("boot") ? "" : dir
end

dirs.each do |dir|
  if File.exists?("#{dir}/__init__.rb")
    load("#{dir}/__init__.rb")
  else
    Dir.glob("#{dir}/*.rb").sort.each do |file|
      load file
    end
  end
end

Dir.glob("#{gem_root}/lib/*.rb").sort.each do |file|
  load file
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vex-0.6.2 init.rb
vex-0.4.4 init.rb
vex-0.4.2 init.rb
vex-0.3.3 init.rb
vex-0.2.9 init.rb
vex-0.2.8 init.rb
vex-0.2.7 init.rb
vex-0.2.6 init.rb
vex-0.2.5 init.rb
vex-0.2.2 init.rb
vex-0.2.1 init.rb
vex-0.2 init.rb