diff options
-rw-r--r-- | lib/evendoors/spot.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/evendoors/spot.rb b/lib/evendoors/spot.rb index a1106a7..75114d3 100644 --- a/lib/evendoors/spot.rb +++ b/lib/evendoors/spot.rb @@ -36,6 +36,23 @@ module EvenDoors attr_reader :name, :path, :spin attr_accessor :viewer, :parent # + def start! + # override this to initialize yout object on stystem start + end + # + def stop! + # override this to initialize yout object on stystem stop + end + # + def hibernate! + # override this to save your object state on hibernate + {} + end + # + def resume! o + # override this to restore your object state on resume + end + # end # end |