title: MacRuby - CLLocation Properties Not Accessible
body: <p>This works in Objective-C but in MacRuby I cannot find a way to access the properties of the Boxed object that is returned.</p>
  
  <p>MacRuby Version 0.7 -> latest build as of 2010-05-02
  OS -> 10.6.3</p>
  
  <p>Objective-C Version:</p>
  
  <pre><code>CLLocation *loc = [[CLLocation alloc] initWithLatitude:38.0 longitude:-122.0];
  NSLog(@"Lat: %.2f", loc.coordinate.latitude);
  NSLog(@"Long: %.2f", loc.coordinate.longitude);
  [loc release];
  // Results:
  // 2010-04-30 16:48:55.568 OCCoreLocationTest[70030:a0f] Lat: 38.00
  // 2010-04-30 16:48:55.570 OCCoreLocationTest[70030:a0f] Long: -122.00
  </code></pre>
  
  <p>Here is the MacRuby version with results:</p>
  
  <pre><code>framework 'corelocation'
  
  loc = CLLocation.alloc.initWithLatitude(38.0, longitude:-122.0)
  # =&gt; #&lt;CLLocation:0x20004c4e0&gt;
  
  puts loc.class
  # =&gt; CLLocation
  puts loc.description
  # =&gt; &lt;+38.00000000, -122.00000000&gt; +/- 0.00m (speed -1.00 mps / course -1.00) @ 2010-04-30 16:37:47 -0600
  puts loc.horizontalAccuracy
  # =&gt; 0.0
  puts loc.verticalAccuracy
  # =&gt; -1.0
  puts loc.timestamp
  # =&gt; #&lt;__NSCFDate:0x20005ff40&gt;
  puts loc.coordinate
  # =&gt; #&lt;Boxed:0x2000af7a0&gt;
  puts loc.altitude
  # =&gt; 0.0
  puts loc.coordinate.longitude
  # =&gt; Error:in `&lt;main&gt;': undefined method `longitude' for #&lt;Boxed:0x2000b7660&gt; (NoMethodError)
  </code></pre>