D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Module
/
Filename :
remove_class_variable-i.yaml
back
Copy
--- !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