Module: Ruber::Autosave

Defined in:
plugins/autosave/autosave.rb

Overview

Plugin providing a common interface to autosaving documents.

Plugins which want to autosave some files whenever something happen may register with this plugin then call its autosave method whenever they want to autosave files.

The user can choose whether they want autosave globally enabled an turn it off plugin-wise if they want. If autosave is disabled for a given plugin (either because it’s disabled globally or only for that plugin), the autosave method will behave as if the files were successfully saved, but, of course, will not actually save them.

Note: in all the documentation of this class, the method parameter plug can be either a plugin or its name.

API for feature autosave

Plugin object API

See API for AutosavePlugin

Defined Under Namespace

Classes: AutosavePlugin, ConfigWidget