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 each
          @object.instance_variables.each do |variable_full_name|
            variable_name = variable_full_name[1...variable_full_name.length]
            yield variable_name, get_variable(variable_full_name)
          end
        end
def each @object . instance_variables . each do | variable_full_name | variable_name = variable_full_name [ 1 ... variable_full_name . length ] yield variable_name , get_variable ( variable_full_name ) end end
Wraps +object+ allowing its instance variables to be manipulated.
Wraps + object + allowing its instance variables to be manipulated .