Sha256: 7e3b4b7971cfab844c52c2b7c8c9acbf9958cc9ef9617e9a4312c138eee67d4e

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

module PlexSymlinker
  class Symlink
    attr_reader :path

    def initialize(path)
      @path = path
    end

    def target
      File.readlink(path)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plex_symlinker-0.1.1 lib/plex_symlinker/symlink.rb
plex_symlinker-0.1.0 lib/plex_symlinker/symlink.rb