def get_existing_boxes
      # Converts the bebox boxes directory to an absolute pathname
      expanded_directory = File.expand_path("#{BEBOX_BOXES_PATH}")
      # Get an array of bebox boxes paths
      boxes = Dir["#{expanded_directory}/*"].reject {|f| File.directory? f}
      boxes.map{|box| box.split('/').last}
    end
def get_existing_boxes
      # Converts the bebox boxes directory to an absolute pathname
      expanded_directory = File.expand_path("#{BEBOX_BOXES_PATH}")
      # Get an array of bebox boxes paths
      boxes = Dir["#{expanded_directory}/*"].reject {|f| File.directory? f}
      boxes.map{|box| box.split('/').last}
    end
def get_existing_boxes # Converts the bebox boxes directory to an absolute pathname expanded_directory = File . expand_path ( "#{BEBOX_BOXES_PATH}" ) # Get an array of bebox boxes paths boxes = Dir [ "#{expanded_directory}/*" ] . reject { | f | File . directory? f } boxes . map { | box | box . split ( '/' ) . last } end
Obtain the current boxes downloaded or linked in the bebox user home
Obtain the current boxes downloaded or linked in the bebox user home