Sha256: a3f376ae9e4860514fbb05f2e8875da74746bb255509de36e203f22a1b2c9bb4

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

module AppMap
  module Config
    PathStruct = Struct.new(:path)

    # Path is an abstract configuration of a file, directory, or package.
    class Path < PathStruct
      attr_accessor :mode

      def initialize(path)
        super(path)

        @mode = :implicit
      end

      def <=>(other)
        path <=> other.path
      end

      # Automatically determined configurations of child file/package paths.
      def children
        []
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
appmap-0.23.0 lib/appmap/config/path.rb
appmap-0.22.0 lib/appmap/config/path.rb
appmap-0.21.0 lib/appmap/config/path.rb
appmap-0.20.0 lib/appmap/config/path.rb
appmap-0.19.0 lib/appmap/config/path.rb
appmap-0.18.1 lib/appmap/config/path.rb