Module: Singleton

Included in:
DTest::Global::Manager, DTest::SharedContext::Manager, DTest::Test::Manager
Defined in:
lib/dtest/util.rb

Instance Method Summary collapse

Instance Method Details

#remove_instance_varObject



4
5
6
7
8
9
# File 'lib/dtest/util.rb', line 4

def remove_instance_var
  # remove all instance vars
  instance_variables.each do |name|
    remove_instance_variable(name)
  end
end