Class: AdLint::LabelDef

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

Overview

DESCRIPTION

Label definition information.

Instance Method Summary collapse

Methods inherited from CodeStructure

#print_as_csv, #to_s

Constructor Details

#initialize(loc, label_name) ⇒ LabelDef

DESCRIPTION

Constructs the label definition information.

PARAMETER

loc

Location – Location where the definition appears.

label_name

String – Label name.



256
257
258
259
# File 'lib/adlint/code.rb', line 256

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