Class: Regressor::RegressionModel

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model::Enum

#enums

Methods included from Model::Nested::Attribute

#nested_attributes

Methods included from Model::Database::Index

#indexes

Methods included from Model::Database::Column

#columns

Methods included from Model::Validation::Length

#length_validators

Methods included from Model::Validation::Presence

#presence_validators

Methods included from Model::Relation::HasMany

#has_many_relations

Methods included from Model::Relation::HasOne

#has_one_relations

Methods included from Model::Relation::BelongTo

#belong_to_relations

Constructor Details

#initialize(model) ⇒ RegressionModel

Returns a new instance of RegressionModel.



24
25
26
# File 'lib/generators/regressor/regression_model.rb', line 24

def initialize(model)
  @model = model
end

Instance Attribute Details

#modelObject

Returns the value of attribute model.



22
23
24
# File 'lib/generators/regressor/regression_model.rb', line 22

def model
  @model
end