class Path::Backend::Mock::File

Attributes

content[RW]

Public Class Methods

new(backend, name, opts = {}) click to toggle source
Calls superclass method Path::Backend::Mock::Node::new
# File lib/rubypath/backend/mock.rb, line 351
def initialize(backend, name, opts = {})
  super
  self.mode = 0o666 - backend.umask
end

Public Instance Methods

lookup(_path) click to toggle source
# File lib/rubypath/backend/mock.rb, line 356
def lookup(_path)
  nil
end