Class: AutomateIt::EditManager::Simple
- Inherits:
-
BaseDriver
- Object
- Common
- Plugin::Base
- Plugin::Driver
- BaseDriver
- AutomateIt::EditManager::Simple
- Defined in:
- lib/automateit/edit_manager.rb
Overview
EditManager::Simple
Provides a way to edit files and strings.
See documentation for EditSession.
Constant Summary
Constants inherited from Plugin::Driver
Plugin::Driver::BASE_DRIVER_NAME
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::Driver
Attributes inherited from Common
Instance Method Summary collapse
-
#edit(*opts, &block) ⇒ Object
Creates an editing session.
-
#suitability(method, *args) ⇒ Object
:nodoc:.
Methods inherited from Plugin::Driver
abstract_driver, #available?, base_driver, base_driver?, depends_on, inherited, manager_token, #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 EditSession#edit.
33 34 35 |
# File 'lib/automateit/edit_manager.rb', line 33 def edit(*opts, &block) AutomateIt::EditManager::EditSession.new(:interpreter => @interpreter).edit(*opts, &block) end |
#suitability(method, *args) ⇒ Object
:nodoc:
28 29 30 |
# File 'lib/automateit/edit_manager.rb', line 28 def suitability(method, *args) # :nodoc: 1 end |