Sha256: e4aa466822ae3dcbd25102878dc600bd8496dc95a0078e0d3fa0953178587c0e

Contents?: true

Size: 419 Bytes

Versions: 43

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

module SublimeTextKit
  module Metadata
    module Serializers
      # Serializes project metadata.
      class Project
        attr_reader :pathway

        def initialize pathway
          @pathway = pathway
        end

        def to_h
          {
            folders: [
              {path: pathway.project_dir.to_s}
            ]
          }
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
sublime_text_kit-11.0.2 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-11.0.1 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-11.0.0 lib/sublime_text_kit/metadata/serializers/project.rb