Module: MismatchInspectable::ClassMethods

Defined in:
lib/mismatch_inspectable/mismatch_inspectable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#compare_methodsObject (readonly)

Returns the value of attribute compare_methods.



15
16
17
# File 'lib/mismatch_inspectable/mismatch_inspectable.rb', line 15

def compare_methods
  @compare_methods
end

Instance Method Details

#inspect_mismatch_for(*methods) ⇒ Object



17
18
19
# File 'lib/mismatch_inspectable/mismatch_inspectable.rb', line 17

def inspect_mismatch_for(*methods)
  @compare_methods = methods
end