Class: PgBundle::BaseSource
- Inherits:
-
Object
- Object
- PgBundle::BaseSource
- Defined in:
- lib/pgbundle/base_source.rb
Overview
The BaseSource class defines an Extension source like PathSource or GithubSource it defines how to get the code and run make install on a given host (e.g. database server)
Direct Known Subclasses
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ BaseSource
constructor
A new instance of BaseSource.
- #load(host, user, dest) ⇒ Object
Constructor Details
#initialize(path) ⇒ BaseSource
Returns a new instance of BaseSource.
8 9 10 |
# File 'lib/pgbundle/base_source.rb', line 8 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/pgbundle/base_source.rb', line 6 def path @path end |
Instance Method Details
#load(host, user, dest) ⇒ Object
12 13 14 |
# File 'lib/pgbundle/base_source.rb', line 12 def load(host, user, dest) fail NotImplementedError end |