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-17.6.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.5.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.4.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.3.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.2.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.1.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.0.1 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-17.0.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-16.5.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-16.3.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-16.2.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-16.1.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-16.0.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.2.1 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.2.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.1.0 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.0.3 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.0.2 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.0.1 lib/sublime_text_kit/metadata/serializers/project.rb
sublime_text_kit-15.0.0 lib/sublime_text_kit/metadata/serializers/project.rb