Method: AdLint::Initialization#initialize

Defined in:
lib/adlint/code.rb

#initialize(loc, var_name, init_rep) ⇒ Initialization

DESCRIPTION

Constructs the initialization information.

PARAMETER

loc

Location – Location where the variable appears.

var_name

String – Initialized variable name.

init_rep

String – Initializer representation.



282
283
284
285
286
# File 'lib/adlint/code.rb', line 282

def initialize(loc, var_name, init_rep)
  @loc      = loc
  @var_name = var_name
  @init_rep = init_rep
end