Adapted to yast2-ruby-bindings =~ 1.2.0