[Libguestfs] [nbdkit PATCH 0/2] Ruby bindings for .zero

Eric Blake eblake at redhat.com
Thu Feb 2 19:45:36 UTC 2017


Similar to python and perl. But MUCH easier (especially considering
that this is the first time I've every tried to run Ruby).  I even
had fun making set_error() polymorphic.

Eric Blake (2):
  ruby: Expose nbdkit_set_error to ruby script
  ruby: Support zero callback

 plugins/ruby/example.rb             | 11 ++++++++
 plugins/ruby/nbdkit-ruby-plugin.pod | 54 +++++++++++++++++++++++++++++++++----
 plugins/ruby/ruby.c                 | 51 +++++++++++++++++++++++++++++++++++
 3 files changed, 111 insertions(+), 5 deletions(-)

-- 
2.9.3




More information about the Libguestfs mailing list