Kouhei Sutou
null+****@clear*****
Sat Jan 11 14:27:16 JST 2014
Kouhei Sutou 2014-01-11 14:27:16 +0900 (Sat, 11 Jan 2014) New Revision: c88ef635a45f304db315f7e9888bd451ca35807c https://github.com/ranguba/rroonga/commit/c88ef635a45f304db315f7e9888bd451ca35807c Message: Add column values to Record#inspect [groonga-dev,02048] Suggested by ongaeshi. Thanks!!! Modified files: lib/groonga/record.rb Modified: lib/groonga/record.rb (+6 -1) =================================================================== --- lib/groonga/record.rb 2014-01-10 19:08:27 +0900 (aad597b) +++ lib/groonga/record.rb 2014-01-11 14:27:16 +0900 (16b24c5) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2009-2013 Kouhei Sutou <kou �� clear-code.com> +# Copyright (C) 2009-2014 Kouhei Sutou <kou �� clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -350,6 +350,11 @@ module Groonga @added = added end + # @private + def inspect + super.gsub(/>\z/, ", attributes: #{attributes.inspect}>") + end + private def normalize_column_name(name) name.to_s -------------- next part -------------- HTML����������������������������...Descargar