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-9.3.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-9.2.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-9.1.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-9.0.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.5.2 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.5.1 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.5.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.4.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.3.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.2.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.1.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-8.0.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-7.2.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-7.1.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-7.0.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-6.2.1 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-6.2.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-6.1.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-6.0.0 lib/sublime_text_kit/metadata/project_metadata.rb
sublime_text_kit-5.0.0 lib/sublime_text_kit/metadata/project_metadata.rb