Methods
C
D
E
I
L
N
T
Classes and Modules
Attributes
[RW] name
[RW] parent
[RW] inode
Class Public methods
new(name = nil, parent = nil)
# File lib/fakefs/fake/file.rb, line 24
    def initialize(name = nil, parent = nil)
      @name   = name
      @parent = parent
      @inode  = Inode.new(self)
    end
Instance Public methods
clone(parent = nil)
# File lib/fakefs/fake/file.rb, line 48
    def clone(parent = nil)
      clone = super()
      clone.parent = parent if parent
      clone.inode  = inode.clone
      clone
    end
content()
# File lib/fakefs/fake/file.rb, line 32
    def content
      @inode.content
    end
content=(str)
# File lib/fakefs/fake/file.rb, line 36
    def content=(str)
      @inode.content = str
    end
delete()
# File lib/fakefs/fake/file.rb, line 67
    def delete
      inode.unlink(self)
      parent.delete(self)
    end
entry()
# File lib/fakefs/fake/file.rb, line 55
    def entry
      self
    end
inspect()
# File lib/fakefs/fake/file.rb, line 59
    def inspect
      "(FakeFile name:#{name.inspect} parent:#{parent.to_s.inspect} size:#{content.size})"
    end
link(other_file)
# File lib/fakefs/fake/file.rb, line 44
    def link(other_file)
      @inode.link(other_file)
    end
links()
# File lib/fakefs/fake/file.rb, line 40
    def links
      @inode.links
    end
to_s()
# File lib/fakefs/fake/file.rb, line 63
    def to_s
      File.join(parent.to_s, name)
    end