/usr/share/doc/ruby-inline/examples/helloworld_example.rb is in ruby-inline 3.10.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/ruby -w
require 'inline'
class Hello
inline do |builder|
builder.include "<stdio.h>"
builder.c 'void hello() { puts("hello world"); }'
end
end
Hello.new.hello
|