Sha256: 24c224235d1d584d81f5240094e0a2af80d3dea9c4a6846c7f596b3639338625

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

module GpxTrackGenerator
  # Prettify XML
  module PrettyXml
    # Make xml pretty
    def human
      Nokogiri::XSLT(File.open(File.expand_path('../pretty.xslt', __FILE__))).apply_to self
    end
  end
end

# Nokogiri
module Nokogiri
  # XML
  module XML
    # Node
    class Node
      include GpxTrackGenerator::PrettyXml
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gpx_track_generator-0.3.5 lib/gpx_track_generator/pretty.rb
gpx_track_generator-0.3.3 lib/gpx_track_generator/pretty.rb