Module: Schema::Controls::Comparison::Different::Attributes
- Defined in:
- lib/schema/controls/comparison.rb
Class Method Summary collapse
Class Method Details
.compare_class ⇒ Object
88 89 90 |
# File 'lib/schema/controls/comparison.rb', line 88 def self.compare_class Controls::Schema::Example end |
.control_class ⇒ Object
84 85 86 |
# File 'lib/schema/controls/comparison.rb', line 84 def self.control_class Controls::Schema::Example end |
.entries ⇒ Object
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 |
.example ⇒ Object
80 81 82 |
# File 'lib/schema/controls/comparison.rb', line 80 def self.example ::Schema::Compare::Comparison.new(control_class, compare_class, entries) end |