Sha256: 96f0ceb40ad900d0469501cb3c03187c4976e989991bc5f1c3cf32ae0a9f8208

Contents?: true

Size: 672 Bytes

Versions: 12

Compression:

Stored size: 672 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'rubygems'
require 'activesupport'

module SproutCore  

  # Returns a library for the current working directory.  This is useful when 
  # working on the command line
  def self.library
    Library.library_for(Dir.pwd)
  end
  
  def self.library_for(path, opts={})
    Library.library_for(path, opts)
  end
  
  def self.logger; @logger ||= Logger.new(STDOUT); end
  def self.logger=(new_logger); @logger = new_logger; end
    
end

# Force load the code files.  Others may be loaded only as required
%w(library bundle bundle_manifest jsdoc jsmin version).each do |fname|
  require "sproutcore/#{fname}"
end

SC= SproutCore

  

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sproutcore-0.9.0 lib/sproutcore.rb
sproutcore-0.9.1 lib/sproutcore.rb
sproutcore-0.9.10 lib/sproutcore.rb
sproutcore-0.9.11 lib/sproutcore.rb
sproutcore-0.9.2 lib/sproutcore.rb
sproutcore-0.9.4 lib/sproutcore.rb
sproutcore-0.9.3 lib/sproutcore.rb
sproutcore-0.9.5 lib/sproutcore.rb
sproutcore-0.9.7 lib/sproutcore.rb
sproutcore-0.9.8 lib/sproutcore.rb
sproutcore-0.9.9 lib/sproutcore.rb
sproutcore-0.9.6 lib/sproutcore.rb