Class: IntrovertHelloWorld

Inherits:
Object
  • Object
show all
Defined in:
ext/introvert_hello_world/introvert_hello_world.c

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject



4
5
6
7
# File 'ext/introvert_hello_world/introvert_hello_world.c', line 4

static VALUE t_init(VALUE self)
{
  return self;
}

Class Method Details

.say_helloObject



16
17
18
19
20
# File 'ext/introvert_hello_world/introvert_hello_world.c', line 16

static VALUE singleton_hello(VALUE self) {
  printf("Go away singleton world!\n");

  return Qnil;
};

Instance Method Details

#say_helloObject



9
10
11
12
13
14
# File 'ext/introvert_hello_world/introvert_hello_world.c', line 9

static VALUE t_say_hello(VALUE self)
{
  printf("Go away world!\n");

  return Qnil;
}