class Epuber::Compiler::FileFinders::Imaginary::DirEntry
Attributes
entries[RW]
@return [Hash<String, String | DirEntry>]
name[R]
Public Class Methods
new(name)
click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 16 def initialize(name) @name = name @entries = {} end
Public Instance Methods
==(other)
click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 29 def ==(other) name == other.name && entries == other.entries end
[](key)
click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 21 def [](key) @entries[key] end
[]=(key, value)
click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 25 def []=(key, value) @entries[key] = value end