Module: Schema::Controls::Comparison::Different::Attributes

Defined in:
lib/schema/controls/comparison.rb

Class Method Summary collapse

Class Method Details

.compare_classObject



88
89
90
# File 'lib/schema/controls/comparison.rb', line 88

def self.compare_class
  Controls::Schema::Example
end

.control_classObject



84
85
86
# File 'lib/schema/controls/comparison.rb', line 84

def self.control_class
  Controls::Schema::Example
end

.entriesObject



92
93
94
95
96
97
# File 'lib/schema/controls/comparison.rb', line 92

def self.entries
  [
    Entry::SomeAttribute.example,
    Entry::SomeOtherAttribute::Different.example
  ]
end

.exampleObject



80
81
82
# File 'lib/schema/controls/comparison.rb', line 80

def self.example
  ::Schema::Compare::Comparison.new(control_class, compare_class, entries)
end