From 2e8f936b31de5dd54342661e97390db5b9243347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemens=20B=C3=B6swirth?= Date: Tue, 22 Sep 2020 21:37:04 +0200 Subject: [PATCH] Revert "adapt ruby code to work with ruby 2.3" This reverts commit eebd51a6342fecea0ac9b5d55909235525e4d444. --- 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 273067e94fb..a89d66b4859 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.sub(/^meta:\//, "") + puts " " + k.to_s.delete_prefix("meta:/") end else puts " key has no meta data"