A Ruby newbie having trouble getting results back from geonames #!/usr/bin/env ruby require "rubygems" require 'geonames' places_nearby = Geonames::WebService.find_nearby_place_name 41.505928,-81.594582 p places_nearby # --> [#<Geonames::Toponym:0x1021042f0 @country_code="US", @feature_code_name=nil, @elevation=nil, @distance=0.4495, @alternate_names=nil, @feature_code="PPLX", @population=nil, @geoname_id="5161005", @longitude=-81.5981817, @feature_class_name=nil, @country_name="United States", @name="Little Italy", @latitude=41.5089406, @feature_class="P">] How do I get any of the values, e.g., country_name? places_nearby is a local variable. Thank you in advance for help. I've tried several things, but can't figure it out. -- Posted via http://www.ruby-forum.com/.