Class: Schema::Compare::Comparison::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/schema/schema/compare/comparison/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#compare_nameObject

Returns the value of attribute compare_name

Returns:

  • (Object)

    the current value of compare_name



4
5
6
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4

def compare_name
  @compare_name
end

#compare_valueObject

Returns the value of attribute compare_value

Returns:

  • (Object)

    the current value of compare_value



4
5
6
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4

def compare_value
  @compare_value
end

#control_nameObject

Returns the value of attribute control_name

Returns:

  • (Object)

    the current value of control_name



4
5
6
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4

def control_name
  @control_name
end

#control_valueObject

Returns the value of attribute control_value

Returns:

  • (Object)

    the current value of control_value



4
5
6
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4

def control_value
  @control_value
end

Instance Method Details

#different?Boolean

Returns:



10
11
12
# File 'lib/schema/schema/compare/comparison/entry.rb', line 10

def different?
  control_value != compare_value
end