class OhlohScm::Status
Attributes
errors[R]
Public Class Methods
new(core)
click to toggle source
# File lib/ohloh_scm/status.rb, line 10 def initialize(core) @core = core end
Public Instance Methods
exist?()
click to toggle source
# File lib/ohloh_scm/status.rb, line 14 def exist? !activity.head_token.to_s.empty? rescue RuntimeError logger.debug { $ERROR_INFO.inspect } false end
scm_dir_exist?()
click to toggle source
# File lib/ohloh_scm/status.rb, line 21 def scm_dir_exist? Dir.exist?(scm.vcs_path) end