![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Object/ |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the named instance variable from <em>obj</em>, returning that variable's value. - !ruby/struct:SM::Flow::VERB body: " class Dummy\n attr_reader :var\n def initialize\n @var = 99\n end\n def remove\n remove_instance_variable(:@var)\n end\n end\n d = Dummy.new\n d.var #=> 99\n d.remove #=> 99\n d.var #=> nil\n" full_name: Object#remove_instance_variable is_singleton: false name: remove_instance_variable params: | obj.remove_instance_variable(symbol) => obj visibility: public