| 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.
The following are available in Ruby 1.8 and below:
And these are available in Ruby 1.9 and above:
| 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) |