From 39d1d89aad4ddfa90fffdfffb65fe2eb7ac8f123 Mon Sep 17 00:00:00 2001 From: Doug Fales Date: Sat, 27 Feb 2010 16:19:03 -0700 Subject: [PATCH] More rdoc tweaks. --- README.rdoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rdoc b/README.rdoc index 5a7bcb2..487eace 100644 --- a/README.rdoc +++ b/README.rdoc @@ -18,15 +18,15 @@ etc). == Examples Reading a GPX file, and cropping its contents to a given area: - gpx = GPX::GPXFile.new(:gpx_file => filename) # Read GPX file - bounds = GPX::Bounds.new(params) # Create a rectangular area to crop - gpx.crop(bounds) # Crop it - gpx.write(filename) # Save it + gpx = GPX::GPXFile.new(:gpx_file => filename) # Read GPX file + bounds = GPX::Bounds.new(params) # Create a rectangular area to crop + gpx.crop(bounds) # Crop it + gpx.write(filename) # Save it Converting a Magellan track log to GPX: - if GPX::MagellanTrackLog::is_magellan_file?(filename) - GPX::MagellanTrackLog::convert_to_gpx(filename, "#{filename}.gpx") - end + if GPX::MagellanTrackLog::is_magellan_file?(filename) + GPX::MagellanTrackLog::convert_to_gpx(filename, "#{filename}.gpx") + end == Notes