YUKI Hiroshi
null+****@clear*****
Thu Apr 23 10:46:21 JST 2015
YUKI Hiroshi 2015-04-23 10:46:21 +0900 (Thu, 23 Apr 2015) New Revision: a8bae59b2251a7f5f41ae6df9745cba06320bf9b https://github.com/droonga/droonga-engine/commit/a8bae59b2251a7f5f41ae6df9745cba06320bf9b Message: Output diff for different class instances correctly Modified files: lib/droonga/differ.rb Modified: lib/droonga/differ.rb (+3 -0) =================================================================== --- lib/droonga/differ.rb 2015-04-23 10:23:09 +0900 (6ab44d2) +++ lib/droonga/differ.rb 2015-04-23 10:46:21 +0900 (049290e) @@ -17,6 +17,9 @@ module Droonga module Differ class << self def diff(a, b) + unless a.class == b.class + return "#{a.inspect} <=> #{b.inspect}" + end case a when Hash diff_hashes(a, b) -------------- next part -------------- HTML����������������������������...Download