Class: ObjectComparator
- Inherits:
-
Object
- Object
- ObjectComparator
- Defined in:
- lib/object_comparator.rb,
lib/object_comparator/version.rb,
lib/object_comparator/minitest.rb
Defined Under Namespace
Modules: Minitest Classes: InspectionString
Constant Summary collapse
- VERSION =
"0.1.0"
Instance Method Summary collapse
Instance Method Details
#equal?(one, other) ⇒ Boolean
4 5 6 7 8 |
# File 'lib/object_comparator.rb', line 4 def equal?(one, other) one = InspectionString.new(one.inspect) other = InspectionString.new(other.inspect) one == other end |