diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-26 11:13:39 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-26 11:57:02 +0100 |
commit | 0f837ec068783a6318ba6f7490b567566bce2aa4 (patch) | |
tree | b9eeba20dd016f91fd1ac3f9a02f0bee2d59e7ec /python/examples/guestfs-python.pod | |
parent | 5f30912d74a553399d2bda055560d4340a15088d (diff) | |
download | libguestfs-0f837ec068783a6318ba6f7490b567566bce2aa4.tar.gz libguestfs-0f837ec068783a6318ba6f7490b567566bce2aa4.tar.xz libguestfs-0f837ec068783a6318ba6f7490b567566bce2aa4.zip |
ruby: Allow optional arguments hash to be really optional.
Allow optargs functions to be called as either:
g.mkfs_opts(fs, device)
or:
g.mkfs_opts(fs, device, { optargs hash })
This also preserves backwards compatibility with once_has_no_optargs
functions such as mkfs.
Diffstat (limited to 'python/examples/guestfs-python.pod')
0 files changed, 0 insertions, 0 deletions