class Raz::FileEntry

Attributes

absolute_path[R]
name[R]

Public Class Methods

new(name, absolute_path) click to toggle source
# File lib/raz/entries.rb, line 126
def initialize(name, absolute_path)
  @name          = name
  @absolute_path = absolute_path
end

Public Instance Methods

==(other) click to toggle source
# File lib/raz/entries.rb, line 131
def ==(other)
  absolute_path == if other.is_a?(FileEntry)
                     other.absolute_path
                   else
                     other.to_s
                   end
end