Files
rz-pipe/ruby
Aswin C e8e6dd6e97 Add rz-pipe support for Ruby (#6)
* Add rz-pipe support for Ruby

Also add Ruby to the list of supported languages on the README

* Add a Makefile and update the CI for Ruby

* Fix a typo in the examples
2021-01-20 15:34:11 +08:00
..
2021-01-20 15:34:11 +08:00
2021-01-20 15:34:11 +08:00
2021-01-20 15:34:11 +08:00

rzpipe.rb

Interact with rizin through Ruby.

Usage example

require './rzpipe'

begin
  rzp = RzPipe.new
rescue Exception => e
  rzp = RzPipe.new '/bin/ls'
end
  puts rzp.cmd 'a'
  puts rzp.cmd 'pd 10 main'
  rzp.quit