Class: AdLint::Include

Inherits:
CodeStructure show all
Defined in:
lib/adlint/code.rb

Overview

DESCRIPTION

Header include information.

Instance Method Summary collapse

Methods inherited from CodeStructure

#print_as_csv, #to_s

Constructor Details

#initialize(loc, fpath) ⇒ Include

DESCRIPTION

Constructs the header include information.

PARAMETER

loc

Location – Location where the directive appears.

fpath

Pathname – Path name of the included file.



335
336
337
338
# File 'lib/adlint/code.rb', line 335

def initialize(loc, fpath)
  @loc   = loc
  @fpath = fpath
end