Class: Sevgi::Function::Location

Inherits:
Data
  • Object
show all
Defined in:
lib/sevgi/function/locate.rb

Overview

Found file location returned by locate helpers.

Instance Attribute Summary collapse

Instance Attribute Details

#dirString (readonly)

Returns directory where the match was found.

Returns:

  • (String)

    directory where the match was found



13
# File 'lib/sevgi/function/locate.rb', line 13

Location = Data.define(:file, :slug, :dir)

#fileString (readonly)

Returns absolute matching file path.

Returns:

  • (String)

    absolute matching file path



13
# File 'lib/sevgi/function/locate.rb', line 13

Location = Data.define(:file, :slug, :dir)

#slugString (readonly)

Returns candidate path that matched.

Returns:

  • (String)

    candidate path that matched



13
# File 'lib/sevgi/function/locate.rb', line 13

Location = Data.define(:file, :slug, :dir)