Class: Etna::Clients::Magma::ModelsCsv::ModelsChangeset

Inherits:
Struct
  • Object
show all
Defined in:
lib/etna/clients/magma/formatting/models_csv.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ ModelsChangeset

Returns a new instance of ModelsChangeset.



334
335
336
337
338
339
340
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 334

def initialize(*args)
  super

  self.models ||= Models.new
  self.renames ||= {}
  self.matrix_constants ||= {}
end

Instance Attribute Details

#last_matrix_constantObject

Returns the value of attribute last_matrix_constant

Returns:

  • (Object)

    the current value of last_matrix_constant



333
334
335
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333

def last_matrix_constant
  @last_matrix_constant
end

#last_model_keyObject

Returns the value of attribute last_model_key

Returns:

  • (Object)

    the current value of last_model_key



333
334
335
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333

def last_model_key
  @last_model_key
end

#matrix_constantsObject

Returns the value of attribute matrix_constants

Returns:

  • (Object)

    the current value of matrix_constants



333
334
335
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333

def matrix_constants
  @matrix_constants
end

#modelsObject

Returns the value of attribute models

Returns:

  • (Object)

    the current value of models



333
334
335
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333

def models
  @models
end

#renamesObject

Returns the value of attribute renames

Returns:

  • (Object)

    the current value of renames



333
334
335
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333

def renames
  @renames
end