summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2007-07-17 09:42:04 +0000
committerArvin Schnell <aschnell@suse.de>2007-07-17 09:42:04 +0000
commit2fa1c243f0e4b51cb9ffe3a27b2cfb4766f82e39 (patch)
treef7964b45d1ebde68f0c8d2f05e9ac0d3d9cbca23 /examples
parent541682d5b3ae1639cc428c46bc937f3df174a79d (diff)
downloadlibzypp-bindings-2fa1c243f0e4b51cb9ffe3a27b2cfb4766f82e39.tar.gz
libzypp-bindings-2fa1c243f0e4b51cb9ffe3a27b2cfb4766f82e39.tar.bz2
libzypp-bindings-2fa1c243f0e4b51cb9ffe3a27b2cfb4766f82e39.zip
- list more Resolvable properties
Diffstat (limited to 'examples')
-rw-r--r--examples/ruby/list_target_resolvables.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/ruby/list_target_resolvables.rb b/examples/ruby/list_target_resolvables.rb
index 27992c0..0e7e916 100644
--- a/examples/ruby/list_target_resolvables.rb
+++ b/examples/ruby/list_target_resolvables.rb
@@ -13,6 +13,7 @@ r = z.target.resolvables
r.each do | p |
# puts p.class
- puts p.name
+ puts "#{p.name} #{p.edition.as_string} #{p.arch.as_string}"
+ puts " #{p.summary}"
end