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

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

Class Method Summary collapse

Class Method Details

.compare_nameObject



150
151
152
# File 'lib/schema/controls/comparison/entry.rb', line 150

def self.compare_name
  Attribute::Name.yet_another_attribute
end

.compare_valueObject



154
155
156
# File 'lib/schema/controls/comparison/entry.rb', line 154

def self.compare_value
  Attribute::Value.some_other_attribute
end

.control_nameObject



142
143
144
# File 'lib/schema/controls/comparison/entry.rb', line 142

def self.control_name
  Attribute::Name.some_other_attribute
end

.control_valueObject



146
147
148
# File 'lib/schema/controls/comparison/entry.rb', line 146

def self.control_value
  Attribute::Value.some_other_attribute
end

.exampleObject



133
134
135
136
137
138
139
140
# File 'lib/schema/controls/comparison/entry.rb', line 133

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