Class AutomateIt::Plugin::Base
In: lib/automateit/plugin/base.rb
Parent: Common

Plugin::Base

An AutomateIt Plugin provides the Interpreter with the functionality that users actually care about, such as installing packages or adding users. The Plugin::Base class isn‘t useful by itself but provides behavior that‘s inherited by the Plugin::Manager and Plugin::Driver classes.

Methods

token   token  

Public Class methods

Public Instance methods

Get token for the plugin. The token is a symbol that represents the classname of the underlying object.

Example:

  AddressManager.token # => :address_manager
  AddressManager::Portable.token => :portable

[Validate]