Class: Rexer::Source::Base
- Inherits:
-
Object
- Object
- Rexer::Source::Base
- Defined in:
- lib/rexer/source/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#info(_work_dir = nil) ⇒ Object
Return the status of the source.
-
#load(_path) ⇒ Object
Load the source to the given path.
-
#updatable? ⇒ Boolean
Check if the source can be updated to a newer version.
-
#update(_path) ⇒ Object
Update to the latest version of the source.
Instance Method Details
#info(_work_dir = nil) ⇒ Object
Return the status of the source.
20 |
# File 'lib/rexer/source/base.rb', line 20 def info(_work_dir = nil) = "" |
#load(_path) ⇒ Object
Load the source to the given path.
5 6 7 |
# File 'lib/rexer/source/base.rb', line 5 def load(_path) raise "Not implemented" end |
#updatable? ⇒ Boolean
Check if the source can be updated to a newer version.
15 16 17 |
# File 'lib/rexer/source/base.rb', line 15 def updatable? raise "Not implemented" end |
#update(_path) ⇒ Object
Update to the latest version of the source.
10 11 12 |
# File 'lib/rexer/source/base.rb', line 10 def update(_path) raise "Not implemented" end |