Sha256: ff3a5e6746794d9526fa986954ea369d376e046b816547845616259a0c86ba15

Contents?: true

Size: 418 Bytes

Versions: 22

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

module SublimeTextKit
  module Metadata
    # Processes project metadata.
    class Project < Base
      def initialize project_dir, metadata_dir
        super project_dir, metadata_dir
      end

      def file_extension
        "sublime-project"
      end

      def to_h
        {
          folders: [
            {path: project_dir}
          ]
        }
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sublime_text_kit-4.1.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-4.0.0 lib/sublime_text_kit/metadata/project_metadata.rb