class TermUtils::FF::Entry

Represents an Entry of a Query result.

Attributes

index[RW]

@return [Integer]

name[RW]

@return [String]

path[RW]

@return [String]

relative_path_comps[RW]

@return [Array<String>]

Public Class Methods

new() click to toggle source
# File lib/term_utils/ff/entry.rb, line 32
def initialize
  @index = nil
  @name = nil
  @relative_path_comps = nil
  @path = nil
end

Public Instance Methods

depth() click to toggle source

@return [Integer]

# File lib/term_utils/ff/entry.rb, line 40
def depth
  @relative_path_comps.length
end