Class: Filament::SCM::Base
- Inherits:
-
Object
- Object
- Filament::SCM::Base
- Defined in:
- lib/filament/package.rb
Class Method Summary collapse
Instance Method Summary collapse
- #commit(msg) ⇒ Object
-
#initialize(path) ⇒ Base
constructor
A new instance of Base.
- #revision ⇒ Object
- #status ⇒ Object
- #update ⇒ Object
Constructor Details
#initialize(path) ⇒ Base
Returns a new instance of Base.
26 27 28 29 |
# File 'lib/filament/package.rb', line 26 def initialize(path) @realpath = Pathname.new(path) raise "path must be absolute" unless @realpath.absolute? end |
Class Method Details
.applies?(path) ⇒ Boolean
22 23 24 |
# File 'lib/filament/package.rb', line 22 def self.applies?(path) return false end |
Instance Method Details
#commit(msg) ⇒ Object
37 |
# File 'lib/filament/package.rb', line 37 def commit(msg); end |
#revision ⇒ Object
31 |
# File 'lib/filament/package.rb', line 31 def revision; return nil; end |
#status ⇒ Object
35 |
# File 'lib/filament/package.rb', line 35 def status; end |
#update ⇒ Object
33 |
# File 'lib/filament/package.rb', line 33 def update; end |