summaryrefslogtreecommitdiffstats
path: root/ruby/examples/guestfs-ruby.pod
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/examples/guestfs-ruby.pod')
-rw-r--r--ruby/examples/guestfs-ruby.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/examples/guestfs-ruby.pod b/ruby/examples/guestfs-ruby.pod
index 1af133de..4b53d018 100644
--- a/ruby/examples/guestfs-ruby.pod
+++ b/ruby/examples/guestfs-ruby.pod
@@ -8,8 +8,8 @@ guestfs-ruby - How to use libguestfs from Ruby
require 'guestfs'
g = Guestfs::Guestfs.new()
- g.add_drive_opts("disk.img",
- :readonly => 1, :format => "raw")
+ g.add_drive("disk.img",
+ :readonly => 1, :format => "raw")
g.launch()
=head1 DESCRIPTION