From 4703b86df808f2339942e9e58a4193ffffd1f292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemens=20B=C3=B6swirth?= Date: Tue, 22 Sep 2020 21:02:52 +0200 Subject: [PATCH] adapt ruby code to work with ruby 2.3 --- src/bindings/swig/ruby/kdb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/swig/ruby/kdb.rb b/src/bindings/swig/ruby/kdb.rb index a89d66b4859..273067e94fb 100644 --- a/src/bindings/swig/ruby/kdb.rb +++ b/src/bindings/swig/ruby/kdb.rb @@ -65,7 +65,7 @@ def pretty_print if meta.size > 0 puts " meta data keys: #{meta.size}" meta.each do |k| - puts " " + k.to_s.delete_prefix("meta:/") + puts " " + k.to_s.sub(/^meta:\//, "") end else puts " key has no meta data"