Sha256: 001cf79e96fbe241131a91a176fda31f54d47c74514c36b423f0fedc715f9705
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
require 'baldwin/version' module Baldwin autoload :Installer, 'baldwin/installer' RAILS_PATTERN = 'spec/rails/rails-*' def self.env! require 'rails/version' ENV[ 'BALDWIN_RAILS_NAME' ] = "rails-#{Rails::VERSION::STRING}" ENV[ 'BALDWIN_RAILS_PATH' ] = "spec/rails/#{ENV[ 'BALDWIN_RAILS_NAME' ]}" end def self.root Pathname.new Dir.pwd end def self.rails Pathname.new ENV[ 'BALDWIN_RAILS_PATH' ] end def self.apps Dir[ RAILS_PATTERN ] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
baldwin-0.2.2 | lib/baldwin.rb |