var search_data = {"index":{"searchIndex":["openstruct","==()","[]()","[]=()","delete_field()","dig()","each_pair()","eql?()","freeze()","hash()","initialize_copy()","inspect()","marshal_dump()","marshal_load()","new()","respond_to_missing?()","to_h()","to_s()"],"longSearchIndex":["openstruct","openstruct#==()","openstruct#[]()","openstruct#[]=()","openstruct#delete_field()","openstruct#dig()","openstruct#each_pair()","openstruct#eql?()","openstruct#freeze()","openstruct#hash()","openstruct#initialize_copy()","openstruct#inspect()","openstruct#marshal_dump()","openstruct#marshal_load()","openstruct::new()","openstruct#respond_to_missing?()","openstruct#to_h()","openstruct#to_s()"],"info":[["OpenStruct","","OpenStruct.html","","<p>An OpenStruct is a data structure, similar to a Hash, that allows the definition of arbitrary attributes …\n"],["==","OpenStruct","OpenStruct.html#method-i-3D-3D","(other)","<p>Compares this object and <code>other</code> for equality.  An OpenStruct is equal to <code>other</code> when <code>other</code> is an OpenStruct …\n"],["[]","OpenStruct","OpenStruct.html#method-i-5B-5D","(name)","<p>Returns the value of a member.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">person</span> = <span class=\"ruby-constant\">OpenStruct</span>.<span class=\"ruby-identifier\">new</span>(<span class=\"ruby-string\">&#39;name&#39;</span> <span class=\"ruby-operator\">=&gt;</span> <span class=\"ruby-string\">&#39;John Smith&#39;</span>, <span class=\"ruby-string\">&#39;age&#39;</span> <span class=\"ruby-operator\">=&gt;</span> <span class=\"ruby-value\">70</span>)\n<span class=\"ruby-identifier\">person</span>[<span class=\"ruby-value\">:age</span>] <span class=\"ruby-operator\">...</span>\n</pre>\n"],["[]=","OpenStruct","OpenStruct.html#method-i-5B-5D-3D","(name, value)","<p>Sets the value of a member.\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">person</span> = <span class=\"ruby-constant\">OpenStruct</span>.<span class=\"ruby-identifier\">new</span>(<span class=\"ruby-string\">&#39;name&#39;</span> <span class=\"ruby-operator\">=&gt;</span> <span class=\"ruby-string\">&#39;John Smith&#39;</span>, <span class=\"ruby-string\">&#39;age&#39;</span> <span class=\"ruby-operator\">=&gt;</span> <span class=\"ruby-value\">70</span>)\n<span class=\"ruby-identifier\">person</span>[<span class=\"ruby-value\">:age</span>] <span class=\"ruby-operator\">...</span>\n</pre>\n"],["delete_field","OpenStruct","OpenStruct.html#method-i-delete_field","(name)","<p>Remove the named field from the object. Returns the value that the field contained if it was defined. …\n"],["dig","OpenStruct","OpenStruct.html#method-i-dig","(name, *names)","<p>Retrieves the value object corresponding to the each <code>name</code> objects repeatedly.\n\n<pre>address = OpenStruct.new(&#39;city&#39; ...</pre>\n"],["each_pair","OpenStruct","OpenStruct.html#method-i-each_pair","()","<p>Yields all attributes (as a symbol) along with the corresponding values or returns an enumerator if not …\n"],["eql?","OpenStruct","OpenStruct.html#method-i-eql-3F","(other)","<p>Compares this object and <code>other</code> for equality.  An OpenStruct is eql? to <code>other</code> when <code>other</code> is an OpenStruct …\n"],["freeze","OpenStruct","OpenStruct.html#method-i-freeze","()",""],["hash","OpenStruct","OpenStruct.html#method-i-hash","()","<p>Compute a hash-code for this OpenStruct. Two hashes with the same content will have the same hash code …\n"],["initialize_copy","OpenStruct","OpenStruct.html#method-i-initialize_copy","(orig)","<p>Duplicate an OpenStruct object members.\n"],["inspect","OpenStruct","OpenStruct.html#method-i-inspect","()","<p>Returns a string containing a detailed summary of the keys and values.\n"],["marshal_dump","OpenStruct","OpenStruct.html#method-i-marshal_dump","()","<p>Provides marshalling support for use by the Marshal library.\n"],["marshal_load","OpenStruct","OpenStruct.html#method-i-marshal_load","(x)","<p>Provides marshalling support for use by the Marshal library.\n"],["new","OpenStruct","OpenStruct.html#method-c-new","(hash=nil)","<p>Creates a new OpenStruct object.  By default, the resulting OpenStruct object will have no attributes. …\n"],["respond_to_missing?","OpenStruct","OpenStruct.html#method-i-respond_to_missing-3F","(mid, include_private = false)",""],["to_h","OpenStruct","OpenStruct.html#method-i-to_h","()","<p>Converts the OpenStruct to a hash with keys representing each attribute (as symbols) and their corresponding …\n"],["to_s","OpenStruct","OpenStruct.html#method-i-to_s","()",""]]}}