Exception: SiteFuel::UnknownVersioningSystem

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sitefuel/SiteFuelRuntime.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source) ⇒ UnknownVersioningSystem



46
47
48
# File 'lib/sitefuel/SiteFuelRuntime.rb', line 46

def initialize(source)
  @source = source
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source



45
46
47
# File 'lib/sitefuel/SiteFuelRuntime.rb', line 45

def source
  @source
end

Instance Method Details

#to_sObject



50
51
52
53
# File 'lib/sitefuel/SiteFuelRuntime.rb', line 50

def to_s
  "Couldn't derive versioning system from #{source}\n"+
  "Use --scm=(git|svn) option to force."
end