Module: Schema::Controls::Comparison::Entry::SomeAttribute

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

Class Method Summary collapse

Class Method Details

.compare_nameObject



27
28
29
# File 'lib/schema/controls/comparison/entry.rb', line 27

def self.compare_name
  Attribute::Name.some_attribute
end

.compare_valueObject



31
32
33
# File 'lib/schema/controls/comparison/entry.rb', line 31

def self.compare_value
  Attribute::Value.some_attribute
end

.control_nameObject



19
20
21
# File 'lib/schema/controls/comparison/entry.rb', line 19

def self.control_name
  Attribute::Name.some_attribute
end

.control_valueObject



23
24
25
# File 'lib/schema/controls/comparison/entry.rb', line 23

def self.control_value
  Attribute::Value.some_attribute
end

.exampleObject



10
11
12
13
14
15
16
17
# File 'lib/schema/controls/comparison/entry.rb', line 10

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