lib/sproutcore/bundle_installer.rb
# Computes the normalized install path for the bundle.
Computes the normalized install path for the bundle.
Computes the normalized install path for the bundle .
def normalize_install_path(bundle_name, opts = {})
      install_name = opts[:target] || bundle_name.to_s.downcase
      is_absolute = Pathname.new(install_name).absolute?
      is_absolute ? install_name : File.expand_path(File.join(install_root, install_name))
    end
def normalize_install_path ( bundle_name , opts = { } ) install_name = opts [ :target ] || bundle_name . to_s . downcase is_absolute = Pathname . new ( install_name ) . absolute? is_absolute ? install_name : File . expand_path ( File . join ( install_root , install_name ) ) end
Computes the normalized install path for the bundle.
Computes the normalized install path for the bundle .
# Add install_root unless pathname is absolute
bundle_name
<not_specific>
opts
<not_specific>