Module: Schema::Controls::Comparison::Entry::SomeOtherAttribute::Same

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

Class Method Summary collapse

Class Method Details

.compare_nameObject



75
76
77
# File 'lib/schema/controls/comparison/entry.rb', line 75

def self.compare_name
  Attribute::Name.some_other_attribute
end

.compare_valueObject



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

def self.compare_value
  Attribute::Value.some_other_attribute
end

.control_nameObject



67
68
69
# File 'lib/schema/controls/comparison/entry.rb', line 67

def self.control_name
  Attribute::Name.some_other_attribute
end

.control_valueObject



71
72
73
# File 'lib/schema/controls/comparison/entry.rb', line 71

def self.control_value
  Attribute::Value.some_other_attribute
end

.exampleObject



58
59
60
61
62
63
64
65
# File 'lib/schema/controls/comparison/entry.rb', line 58

def self.example
  ::Schema::Compare::Comparison::Entry.new(
    self.control_name,
    self.control_value,
    self.compare_name,
    self.compare_value
  )
end