Class: AutomateIt::EditManager
- Inherits:
-
Plugin::Manager
- Object
- Common
- Plugin::Base
- Plugin::Manager
- AutomateIt::EditManager
- Defined in:
- lib/automateit/edit_manager.rb
Overview
EditManager
The EditManager provides a way of editing files and strings programmatically.
See documentation for EditManager::EditSession.
Defined Under Namespace
Classes: BaseDriver, EditSession, Simple
Constant Summary
Constants included from Constants
Constants::HELPERS_DIR, Constants::INSTALL_DIR, Constants::PERROR, Constants::PEXEC, Constants::PNOTE, Constants::WARNING_BOILERPLATE
Instance Attribute Summary
Attributes inherited from Plugin::Manager
Attributes inherited from Common
Instance Method Summary collapse
-
#edit(*opts, &block) ⇒ Object
Creates an editing session.
Methods inherited from Plugin::Manager
#[], abstract_manager, alias_methods, #available?, #default, #default=, #dispatch, #dispatch_safely, #dispatch_safely_to, #dispatch_to, driver_classes, #driver_for, #driver_suitability_levels_for, inherited, #instantiate_drivers, #setup
Methods inherited from Plugin::Base
Methods inherited from Common
#initialize, #log, #nitpick, #noop, #noop=, #noop?, #preview, #preview=, #preview?, #preview_for, #setup, #superuser?, #writing, #writing=, #writing?
Constructor Details
This class inherits a constructor from AutomateIt::Common
Instance Method Details
#edit(*opts, &block) ⇒ Object
Creates an editing session. See documentation for EditManager::EditSession.
11 |
# File 'lib/automateit/edit_manager.rb', line 11 def edit(*opts, &block) dispatch(*opts, &block) end |