Class: DbAgile::Plugin
- Inherits:
-
Object
- Object
- DbAgile::Plugin
- Includes:
- Contract::Utils::Delegate, Tools::Tuple
- Defined in:
- lib/dbagile/plugin.rb
Overview
Defines common contract of all plugins inside the adapter chain
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Plugin options.
Class Method Summary collapse
-
.[](*args) ⇒ Object
Returns an instance.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Plugin
constructor
Creates a brick instance with a given delegate.
Methods included from Tools::Tuple
#check_tuple_heading, #tuple_has_key?, #tuple_heading, #tuple_key, #tuple_project, #tuple_to_querystring
Constructor Details
#initialize(options = {}) ⇒ Plugin
Creates a brick instance with a given delegate
18 19 20 |
# File 'lib/dbagile/plugin.rb', line 18 def initialize( = {}) @options = .merge() end |
Instance Attribute Details
#options ⇒ Object (readonly)
Plugin options
10 11 12 |
# File 'lib/dbagile/plugin.rb', line 10 def @options end |
Class Method Details
.[](*args) ⇒ Object
Returns an instance
13 14 15 |
# File 'lib/dbagile/plugin.rb', line 13 def self.[](*args) self.new(*args) end |