Module: Schema::Controls::Comparison::Entry::SomeOtherAttribute::Different

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

Class Method Summary collapse

Class Method Details

.compare_nameObject



102
103
104
# File 'lib/schema/controls/comparison/entry.rb', line 102

def self.compare_name
  Attribute::Name.some_other_attribute
end

.compare_valueObject



106
107
108
# File 'lib/schema/controls/comparison/entry.rb', line 106

def self.compare_value
  Attribute::Value.alternate
end

.control_nameObject



94
95
96
# File 'lib/schema/controls/comparison/entry.rb', line 94

def self.control_name
  Attribute::Name.some_other_attribute
end

.control_valueObject



98
99
100
# File 'lib/schema/controls/comparison/entry.rb', line 98

def self.control_value
  Attribute::Value.some_other_attribute
end

.exampleObject



85
86
87
88
89
90
91
92
# File 'lib/schema/controls/comparison/entry.rb', line 85

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