class Train::Transports::Mock::Connection::File
Public Class Methods
new(backend, path, follow_symlink = true)
click to toggle source
Calls superclass method
# File lib/train/transports/mock.rb, line 136 def initialize(backend, path, follow_symlink = true) super(backend, path, follow_symlink) @type = :unknown @exist = false end
Public Instance Methods
mounted()
click to toggle source
# File lib/train/transports/mock.rb, line 142 def mounted @mounted ||= @backend.run_command("mount | grep -- ' on #{@path}'") end