lib/sproutcore/library.rb
# The client directories found in this library.  This usually maps directly to a
# client name but it may not if you have set up some other options.
The client directories found in this library.  This usually maps directly to a
client name but it may not if you have set up some other options.
The client directories found in this library . This usually maps directly to a client name but it may not if you have set up some other options .
def client_directories
      return @client_dirs unless @client_dirs.nil?
      client_path = File.join(@root_path, 'clients')
      if File.exists?(client_path)
        @client_dirs = Dir.entries(client_path).reject do |x|
          (/^\./ =~ x) || !File.directory?(File.join(client_path,x))
        end
      else
        @client_dirs = []
      end
      return @client_dirs
    end
def client_directories return @client_dirs unless @client_dirs . nil? client_path = File . join ( @root_path , 'clients' ) if File . exists? ( client_path ) @client_dirs = Dir . entries ( client_path ) . reject do | x | ( / ^ \. / =~ x ) || ! File . directory? ( File . join ( client_path , x ) ) end else @client_dirs = [ ] end return @client_dirs end
The client directories found in this library.
The client directories found in this library .