examples/ruby/route_guide/route_guide_server.rb
# in? determines if location lies within the bounds of this instances
# Rectangle.
in. determines if location lies within the bounds of this instances
Rectangle.
in . determines if location lies within the bounds of this instances Rectangle .
def in?(location)
    location['longitude'] >= @lo_long &&
      location['longitude'] <= @hi_long &&
      location['latitude'] >= @lo_lat &&
      location['latitude'] <= @hi_lat
  end
def in? ( location ) location [ 'longitude' ] >= @lo_long && location [ 'longitude' ] <= @hi_long && location [ 'latitude' ] >= @lo_lat && location [ 'latitude' ] <= @hi_lat end
in?
in?
location