/usr/share/doc/ruby-gsl/examples/pdf/bernoulli.rb is in ruby-gsl 2.1.0.3+dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | #!/usr/bin/env ruby
require("gsl")
x = GSL::Vector[0..1]
y = GSL::Ran::bernoulli_pdf(x, 0.7)
y.graph_step(x, "-C -X x -Y 'p(x)' -y 0 1 -L 'Bernoulli distribution, p = 0.7' --toggle-rotate-y-label")
|