Class: XRBP::PluginBase

Inherits:
Object
  • Object
show all
Defined in:
lib/xrbp/plugins/base.rb

Overview

Base plugin definition, common logic shared by all connection plugins.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ PluginBase

Returns a new instance of PluginBase.


6
7
8
# File 'lib/xrbp/plugins/base.rb', line 6

def initialize(connection)
  @connection = connection
end

Instance Attribute Details

#connectionObject

Returns the value of attribute connection.


4
5
6
# File 'lib/xrbp/plugins/base.rb', line 4

def connection
  @connection
end