Sunday, October 19, 2008

Ruby Hook Method list

[Method-related hooks]

method_missing, method_added, singleton_method_added, method_removed, single-ton_method_removed, method_undefined, singleton_method_undefined 

[Class and module-related hooks]

inherited, append_features, included, extend_object, extended, initialize_copy, const_missing 

[Object marshaling hooks]

marshal_dump, marshal_load

[Coercion hooks]

coerce, induced_from, to_xxx 

No comments: