class Epuber::Compiler::FileFinders::Imaginary::DirEntry

Attributes

entries[RW]

@return [Hash<String, String | DirEntry>]

name[R]

@return [String]

Public Class Methods

new(name) click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 18
def initialize(name)
  @name    = name
  @entries = {}
end

Public Instance Methods

==(other) click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 31
def ==(other)
  name == other.name && entries == other.entries
end
[](key) click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 23
def [](key)
  @entries[key]
end
[]=(key, value) click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 27
def []=(key, value)
  @entries[key] = value
end