lib/hash_diff.rb in hash_diff-0.5.1 vs lib/hash_diff.rb in hash_diff-0.6.0
- old
+ new
@@ -1,2 +1,18 @@
require "hash_diff/version"
-require "hash_diff/comparison"
+require "hash_diff/comparison"
+
+module HashDiff
+ class << self
+ def diff(*args)
+ Comparison.new(*args).diff
+ end
+
+ def left_diff(*args)
+ Comparison.new(*args).left_diff
+ end
+
+ def right_diff(*args)
+ Comparison.new(*args).right_diff
+ end
+ end
+end
\ No newline at end of file