Sha256: 526341c8a6b51132e9048bbac6cd91d7a1581c31a870db30a58aff0822ff5a94
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sublime_text_kit-3.2.0 | lib/sublime_text_kit/metadata/workspace_metadata.rb |