mod.freeze
Prevents further modifications to mod.
/* * call-seq: * mod.freeze * * Prevents further modifications to <i>mod</i>. */ static VALUE rb_mod_freeze(mod) VALUE mod; { rb_mod_to_s(mod); return rb_obj_freeze(mod); }
<code/>
<pre/>
<code/>and<pre/>for code samples.