Module: GpxTrackGenerator::PrettyXml
- Included in:
- Nokogiri::XML::Node
- Defined in:
- lib/gpx_track_generator/pretty.rb
Overview
Prettify XML
Instance Method Summary collapse
-
#human ⇒ Object
Make xml pretty.
Instance Method Details
#human ⇒ Object
Make xml pretty
5 6 7 |
# File 'lib/gpx_track_generator/pretty.rb', line 5 def human Nokogiri::XSLT(File.open(File.('../pretty.xslt', __FILE__))).apply_to self end |