AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Module/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Module/remove_class_variable-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the definition of the <em>sym</em>, returning that constant's value. - !ruby/struct:SM::Flow::VERB body: " class Dummy\n @@var = 99\n puts @@var\n remove_class_variable(:@@var)\n puts(defined? @@var)\n end\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " 99\n nil\n" full_name: Module#remove_class_variable is_singleton: false name: remove_class_variable params: | remove_class_variable(sym) => obj visibility: public