# frozen_string_literal: true module SublimeTextKit module Metadata # Processes workspace metadata. class Workspace < Base def file_extension "sublime-workspace" end def to_h { expanded_folders: [project_dir], select_project: { selected_items: [ [name, File.join(metadata_dir, "#{name}.sublime-project")] ] } } end end end end