Module: Schema::Controls::Comparison::Different::Mapped
- Defined in:
- lib/schema/controls/comparison.rb
Class Method Summary collapse
Class Method Details
.compare_class ⇒ Object
127 128 129 |
# File 'lib/schema/controls/comparison.rb', line 127 def self.compare_class Controls::Schema::Equivalent end |
.control_class ⇒ Object
123 124 125 |
# File 'lib/schema/controls/comparison.rb', line 123 def self.control_class Controls::Schema::Example end |
.entries ⇒ Object
131 132 133 134 135 136 |
# File 'lib/schema/controls/comparison.rb', line 131 def self.entries [ Entry::SomeAttribute.example, Entry::SomeOtherAttribute::Mapped::DifferentValues.example ] end |
.example ⇒ Object
119 120 121 |
# File 'lib/schema/controls/comparison.rb', line 119 def self.example ::Schema::Compare::Comparison.new(control_class, compare_class, entries) end |