From 64b8a3b430c383655cbeb84c2953b53e66cfe438 Mon Sep 17 00:00:00 2001 From: Josef Reidinger Date: Tue, 29 Jan 2013 15:42:30 +0000 Subject: [PATCH] add to_s method for path, so it produce nicer output --- src/ruby/ycp/path.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ruby/ycp/path.rb b/src/ruby/ycp/path.rb index c9e0b128..e5b7bef0 100644 --- a/src/ruby/ycp/path.rb +++ b/src/ruby/ycp/path.rb @@ -19,5 +19,9 @@ def + another def == (second) value == second.value end + + def to_s + value.to_s + end end end