Class: PistePal::DataServices::GpxDoc
- Inherits:
-
Object
- Object
- PistePal::DataServices::GpxDoc
- Defined in:
- lib/piste_pal/data_services/gpx_doc.rb
Instance Attribute Summary collapse
-
#doc ⇒ Object
include Singleton.
Class Method Summary collapse
Instance Attribute Details
#doc ⇒ Object
include Singleton
6 7 8 |
# File 'lib/piste_pal/data_services/gpx_doc.rb', line 6 def doc @doc end |
Class Method Details
.instance ⇒ Object
11 12 13 |
# File 'lib/piste_pal/data_services/gpx_doc.rb', line 11 def self.instance @instance || nil end |
.set_instance(file_content) ⇒ Object
8 9 10 |
# File 'lib/piste_pal/data_services/gpx_doc.rb', line 8 def self.set_instance(file_content) @instance = new(file_content) end |