Module: Schema::Controls::Comparison::Same
- Defined in:
- lib/schema/controls/comparison.rb
Defined Under Namespace
Modules: Mapped
Class Method Summary collapse
Class Method Details
.compare_class ⇒ Object
29 30 31 |
# File 'lib/schema/controls/comparison.rb', line 29 def self.compare_class Controls::Schema::Example end |
.control_class ⇒ Object
25 26 27 |
# File 'lib/schema/controls/comparison.rb', line 25 def self.control_class Controls::Schema::Example end |
.entries ⇒ Object
33 34 35 36 37 38 |
# File 'lib/schema/controls/comparison.rb', line 33 def self.entries [ Entry::SomeAttribute.example, Entry::SomeOtherAttribute.example ] end |
.example ⇒ Object
21 22 23 |
# File 'lib/schema/controls/comparison.rb', line 21 def self.example ::Schema::Compare::Comparison.new(control_class, compare_class, entries) end |