class Ahnnotate::VfsDriver::ReadOnlyFilesystem

Attributes

changes[R]

Public Class Methods

new(root:) click to toggle source
Calls superclass method Ahnnotate::VfsDriver::Filesystem::new
# File lib/ahnnotate/vfs_driver/read_only_filesystem.rb, line 6
def initialize(root:)
  super
  @changes = {}
end

Public Instance Methods

[]=(path, content) click to toggle source
# File lib/ahnnotate/vfs_driver/read_only_filesystem.rb, line 11
def []=(path, content)
  @changes[path] = content
  nil
end