Module: Avm::Applications::Base::Scm

Defined in:
lib/avm/applications/base/scm.rb

Instance Method Summary collapse

Instance Method Details

#scmAvm::ApplicationScms::Base



15
16
17
# File 'lib/avm/applications/base/scm.rb', line 15

def scm
  @scm ||= ::Avm::Registry.application_scms.detect(self)
end

#scm_repos_path_inherited_value_proc(value) ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


21
22
23
# File 'lib/avm/applications/base/scm.rb', line 21

def scm_repos_path_inherited_value_proc(value)
  value.to_pathname.join(id).to_path
end