Class: Etna::Clients::Magma::ModelsCsv::ModelsChangeset
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::ModelsCsv::ModelsChangeset
- Defined in:
- lib/etna/clients/magma/formatting/models_csv.rb
Instance Attribute Summary collapse
-
#last_matrix_constant ⇒ Object
Returns the value of attribute last_matrix_constant.
-
#last_model_key ⇒ Object
Returns the value of attribute last_model_key.
-
#matrix_constants ⇒ Object
Returns the value of attribute matrix_constants.
-
#models ⇒ Object
Returns the value of attribute models.
-
#renames ⇒ Object
Returns the value of attribute renames.
Instance Method Summary collapse
-
#initialize(*args) ⇒ ModelsChangeset
constructor
A new instance of ModelsChangeset.
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_constant ⇒ Object
Returns the value of attribute 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_key ⇒ Object
Returns the value of attribute 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_constants ⇒ Object
Returns the value of attribute matrix_constants
333 334 335 |
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333 def matrix_constants @matrix_constants end |
#models ⇒ Object
Returns the value of attribute models
333 334 335 |
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333 def models @models end |
#renames ⇒ Object
Returns the value of attribute renames
333 334 335 |
# File 'lib/etna/clients/magma/formatting/models_csv.rb', line 333 def renames @renames end |