class PlexSymlinker::Symlink

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
# File lib/plex_symlinker/symlink.rb, line 5
def initialize(path)
  @path = path
end

Public Instance Methods

target() click to toggle source
# File lib/plex_symlinker/symlink.rb, line 9
def target
  File.readlink(path)
end