Class: KDomain::DomainModel::EntityStatistics

Inherits:
Object
  • Object
show all
Defined in:
lib/k_domain/schemas/domain/old/entity_statistics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_countsObject

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_countsObject

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_countsObject

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_countsObject

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

#issuesObject

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