Module: CaDOVe

Defined in:
lib/cadove/models/reports/reports.rb,
lib/cadove.rb,
lib/cadove/models/helpers.rb,
lib/cadove/models/java/code.rb,
lib/cadove/models/XMI/document.rb,
lib/cadove/models/indifferent_access.rb,
lib/cadove/models/analytics/comparison.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Analytics, Configurator, CoreExtensions, Helpers, Java, Reports, XMI Classes: ConfigurationError

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.ignore_classesObject



23
24
25
# File 'lib/cadove.rb', line 23

def ignore_classes
  @ignore_classes ||= []
end

.left=(value) ⇒ Object (writeonly)

Sets the attribute left

Parameters:

  • value

    the value to set the attribute left to.



5
6
7
# File 'lib/cadove.rb', line 5

def left=(value)
  @left = value
end

.matching_classesObject



27
28
29
# File 'lib/cadove.rb', line 27

def matching_classes
  @matching_clases ||= {}
end

.right=(value) ⇒ Object (writeonly)

Sets the attribute right

Parameters:

  • value

    the value to set the attribute right to.



5
6
7
# File 'lib/cadove.rb', line 5

def right=(value)
  @right = value
end

Class Method Details

.attribute_comparisonObject



36
37
38
39
# File 'lib/cadove.rb', line 36

def attribute_comparison
  Reports::AttributeReport.new(comparison, left_type, right_type).display
  self
end

.class_comparisonObject



31
32
33
34
# File 'lib/cadove.rb', line 31

def class_comparison
  Reports::ClassReport.new(comparison, left_type, right_type).display
  self
end

.configure(&block) ⇒ Object



7
8
9
10
# File 'lib/cadove.rb', line 7

def configure(&block)
  Configurator.module_eval &block
  self
end