Method: AdLint::ReportUtil#write_include

Defined in:
lib/adlint/report.rb

#write_include(loc, fpath) ⇒ Object Also known as: INCLUDE

DESCRIPTION

Writes a header include information on the report.

Abbreviation below is available.

write_include(...) => INCLUDE(...)

PARAMETER

loc

Location – Location where the directive appears.

fpath

Pathname – Path name of the included file.

RETURN VALUE

None.



392
393
394
# File 'lib/adlint/report.rb', line 392

def write_include(loc, fpath)
  write_code_struct(Include.new(loc, fpath))
end