Sha256: b21765a8e1002b611f432f468d875c94e525b53074c3efeddccd17676db8d3ea
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
require 'pathname' require 'rbconfig' require 'rbconfig/datadir' module Shoe VERSION = '0.6.1' autoload :Extensions, 'shoe/extensions' autoload :Generator, 'shoe/generator' autoload :Tasks, 'shoe/tasks' def self.datadir @@datadir ||= begin datadir = RbConfig.datadir('shoe') if !File.exist?(datadir) warn "WARN: #{datadir} does not exist.\n Trying again with relative data directory..." datadir = File.expand_path('../../data/shoe', __FILE__) end Pathname.new(datadir) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoe-0.6.1 | lib/shoe.rb |