bingo bob wrote: > I have this array... > > [#<Yahoo::GeoPlanet::Place:0x1031d3fb8 @bounding_box=[[42.554428, > 1.52747], [42.536251, 1.50279]], @name="La Massana", @woe_id="472580", > @longitude=1.5153, @latitude=42.545052>] That array contains one entry, a Yahoo::GeoPlanet::Place object. > > How do I access the thing called @woe_id within it! > > Whatever I try I can't seem to get at it? Right. The @ at the beginning of the name tells you that it's an instance variable (of the Place object). You can't directly get at an object's instance variables from outside (except by using dangerous tricks that I don't recommend), so check the rdoc for the Place class to see if there's an accessor method or something that will give you the woe_id. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen / marnen.org -- Posted via http://www.ruby-forum.com/.