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.



11
12
13
# File 'lib/mismatch_inspectable/mismatch_inspectable.rb', line 11

def compare_methods
  @compare_methods
end

Instance Method Details

#inspect_mismatch_for(*methods) ⇒ Object



13
14
15
# File 'lib/mismatch_inspectable/mismatch_inspectable.rb', line 13

def inspect_mismatch_for(*methods)
  @compare_methods = methods
end