Programming Languages22k+ stars

Ruby

A dynamic, open source programming language focused on simplicity

Commit Details

Message
"Initial revision"
Author
Yukihiro "Matz" Matsumoto
Date
1998-01-16
Hash
3db12e8b236ac8f88db8eb4690d10e4a3b8dbcd4

Fun Fact

Matz designed Ruby with developer happiness in mind. He said: "Ruby is designed to make programmers happy."

</>First Code

C
/**********************************************************************

  ruby.h -

  $Author$
  $Date$
  created at: Thu Jun 10 14:26:32 JST 1993

  Copyright (C) 1993-1998 Yukihiro Matsumoto

**********************************************************************/

#ifndef RUBY_H
#define RUBY_H

#include "defines.h"

typedef unsigned long VALUE;
typedef unsigned long ID;

struct RBasic {
    unsigned long flags;
    VALUE klass;
};

#endif /* RUBY_H */