Class: Filament::SCM::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/filament/package.rb

Class Method Summary collapse

Instance Method Summary collapse

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

Returns:

  • (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

#revisionObject



31
# File 'lib/filament/package.rb', line 31

def revision; return nil; end

#statusObject



35
# File 'lib/filament/package.rb', line 35

def status; end

#updateObject



33
# File 'lib/filament/package.rb', line 33

def update; end