class Epuber::Compiler::FileFinders::Imaginary::FileEntry

Attributes

absolute_path[R]
name[R]

Public Class Methods

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

Public Instance Methods

==(other) click to toggle source
# File lib/epuber/compiler/file_finders/imaginary.rb, line 44
def ==(other)
  other.is_a?(FileEntry) ? name == other.name : name == other.to_s
end