Method: Cure::Extract::Variable#initialize

Defined in:
lib/cure/extract/variable.rb

#initialize(name, location, ref_name: "_default") ⇒ Variable



8
9
10
11
12
13
# File 'lib/cure/extract/variable.rb', line 8

def initialize(name, location, ref_name: "_default")
  @name = name
  @location = [Extract::CsvLookup.position_for_letter(location),
               Extract::CsvLookup.position_for_digit(location)]
  @ref_name = ref_name
end