method

instance_variable_hash

Importance_0
instance_variable_hash(# :nodoc:) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/example/example_methods.rb, line 89
      def instance_variable_hash # :nodoc:
        instance_variables.inject({}) do |variable_hash, variable_name|
          variable_hash[variable_name] = instance_variable_get(variable_name)
          variable_hash
        end
      end
Register or log in to add new notes.