This file is indexed.

/usr/include/root/TRuby.h is in libroot-bindings-ruby-dev 5.34.14-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
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// @(#)root/ruby:$Id$
// Author:  Elias Athanasopoulos, May 2004

#ifndef ROOT_TRuby
#define ROOT_TRuby

#ifndef ROOT_TObject
#include "TObject.h"
#endif

class TRuby {

private:
  static Bool_t Initialize();
public:
  virtual ~TRuby() { }
  // execute a Ruby statement (e.g. "require 'ruby'")
  static void Exec(const char *cmd);

  // evaluate a Ruby expression (e.g. "1+1")
  static TObject *Eval(const char *expr);

  // bind a ROOT object with, at the ruby side, the name "label"
  static Bool_t Bind(TObject *obj, const char *label);

  // enter an interactive ruby session (exit with ^D)
  static void Prompt();

  ClassDef(TRuby,0)   //Ruby/ROOT interface
};

#endif