Class: KDomain::DomainModel::EntityStatistics
- Inherits:
-
Object
- Object
- KDomain::DomainModel::EntityStatistics
- Defined in:
- lib/k_domain/schemas/domain/old/entity_statistics.rb
Instance Attribute Summary collapse
-
#code_counts ⇒ Object
Returns the value of attribute code_counts.
-
#code_dsl_counts ⇒ Object
Returns the value of attribute code_dsl_counts.
-
#column_counts ⇒ Object
Returns the value of attribute column_counts.
-
#data_counts ⇒ Object
Returns the value of attribute data_counts.
-
#issues ⇒ Object
Returns the value of attribute issues.
Instance Method Summary collapse
-
#initialize(entity) ⇒ EntityStatistics
constructor
A new instance of EntityStatistics.
Constructor Details
#initialize(entity) ⇒ EntityStatistics
Returns a new instance of EntityStatistics.
13 14 15 16 17 18 19 |
# File 'lib/k_domain/schemas/domain/old/entity_statistics.rb', line 13 def initialize(entity) # @column_counts = OpenStruct.new(meta[:column_counts]) # @code_counts = OpenStruct.new(meta[:code_counts]) # @code_dsl_counts = OpenStruct.new(meta[:code_dsl_counts]) # @data_counts = OpenStruct.new(meta[:data_counts]) # @issues = meta[:issues] end |
Instance Attribute Details
#code_counts ⇒ Object
Returns the value of attribute code_counts.
8 9 10 |
# File 'lib/k_domain/schemas/domain/old/entity_statistics.rb', line 8 def code_counts @code_counts end |
#code_dsl_counts ⇒ Object
Returns the value of attribute code_dsl_counts.
9 10 11 |
# File 'lib/k_domain/schemas/domain/old/entity_statistics.rb', line 9 def code_dsl_counts @code_dsl_counts end |
#column_counts ⇒ Object
Returns the value of attribute column_counts.
7 8 9 |
# File 'lib/k_domain/schemas/domain/old/entity_statistics.rb', line 7 def column_counts @column_counts end |
#data_counts ⇒ Object
Returns the value of attribute data_counts.
10 11 12 |
# File 'lib/k_domain/schemas/domain/old/entity_statistics.rb', line 10 def data_counts @data_counts end |
#issues ⇒ Object
Returns the value of attribute issues.
11 12 13 |
# File 'lib/k_domain/schemas/domain/old/entity_statistics.rb', line 11 def issues @issues end |