Sha256: 1f9a7a5e5ebfabd3e7af0ec8c9d50fafb2c788c651215b637876dd9f4cac106d

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

#include "ruby.h"

static VALUE m<%= module_name %>;
static VALUE m<%= extension_module_name %>;

void Init_ext() {
  m<%= module_name %> = rb_define_module("<%= module_name %>");
  m<%= extension_module_name %> = rb_define_module_under("<%= module_name %>", "<%= extension_module_name %>");
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoe-0.6.1 data/shoe/templates/extension.erb
shoe-0.6.0 data/shoe/templates/extension.erb