Sha256: 5b23b0a06b56c3eac022b0c4ea562afc7c5e14e97518244c8c1e3d380df5ea04
Contents?: true
Size: 559 Bytes
Versions: 22
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true module SublimeTextKit module Metadata # Processes workspace metadata. class Workspace < Base def initialize project_dir, metadata_dir super project_dir, metadata_dir end 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
Version data entries
22 entries across 22 versions & 1 rubygems