Module Noex
In: ext/nodewrap.c

The Noex module contains all the Noex constants from node.h. These constants can be passed to Module#add_method as modifiers to the method being added.

PUBLIC
Method is public.
UNDEF
Method is undefined.
PRIVATE
Method is private.
PROTECTED
Method is protected.

The following are available in Ruby 1.8 and below:

CFUNC
Method is a C function.

And these are available in Ruby 1.9 and above:

NOSUPER
???
MASK
???

Constants

PUBLIC = INT2NUM(NOEX_PUBLIC)
UNDEF = INT2NUM(NOEX_UNDEF)
PRIVATE = INT2NUM(NOEX_PRIVATE)
PROTECTED = INT2NUM(NOEX_PROTECTED)
CFUNC = INT2NUM(NOEX_CFUNC)
NOSUPER = INT2NUM(NOEX_NOSUPER)
MASK = INT2NUM(NOEX_MASK)

[Validate]