Module: Schema::Controls::Comparison::Entry::SomeOtherAttribute::Mapped::DifferentValues

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

Class Method Summary collapse

Class Method Details

.compare_nameObject



177
178
179
# File 'lib/schema/controls/comparison/entry.rb', line 177

def self.compare_name
  Attribute::Name.yet_another_attribute
end

.compare_valueObject



181
182
183
# File 'lib/schema/controls/comparison/entry.rb', line 181

def self.compare_value
  Attribute::Value.alternate
end

.control_nameObject



169
170
171
# File 'lib/schema/controls/comparison/entry.rb', line 169

def self.control_name
  Attribute::Name.some_other_attribute
end

.control_valueObject



173
174
175
# File 'lib/schema/controls/comparison/entry.rb', line 173

def self.control_value
  Attribute::Value.some_other_attribute
end

.exampleObject



160
161
162
163
164
165
166
167
# File 'lib/schema/controls/comparison/entry.rb', line 160

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