Displaying 1 result from an estimated 1 matches for "cb9bfd0e7".
2020 Feb 19
1
[PATCH] ruby: change value of 'readonly' drive toption to Boolean in doc/example/test
...=> true` in Ruby samples.
---
ruby/examples/guestfs-ruby.pod | 2 +-
ruby/examples/inspect_vm.rb | 2 +-
ruby/t/tc_070_optargs.rb | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruby/examples/guestfs-ruby.pod b/ruby/examples/guestfs-ruby.pod
index bd8bb3108..cb9bfd0e7 100644
--- a/ruby/examples/guestfs-ruby.pod
+++ b/ruby/examples/guestfs-ruby.pod
@@ -7,7 +7,7 @@ guestfs-ruby - How to use libguestfs from Ruby
require 'guestfs'
g = Guestfs::Guestfs.new()
g.add_drive_opts("disk.img",
- :readonly => 1, :format => "...