vendor/plugins/rspec_on_rails/lib/spec/rails/example/ivar_proxy.rb
##
# Wraps +object+ allowing its instance variables to be manipulated.
Wraps +object+ allowing its instance variables to be manipulated.
Wraps + object + allowing its instance variables to be manipulated .
def delete(key)
          var_name = "@#{key}"
          if @object.instance_variables.include?(var_name)
            @object.send(:remove_instance_variable, var_name)
          else
            return nil
          end
        end
def delete ( key ) var_name = "@#{key}" if @object . instance_variables . include? ( var_name ) @object . send ( :remove_instance_variable , var_name ) else return nil end end
Wraps +object+ allowing its instance variables to be manipulated.
Wraps + object + allowing its instance variables to be manipulated .
key
<not_specific>