class Repobrowse::Repo

class for represpenting an inbox git repository.

Attributes

driver[R]
lineno_prefix[R]
name[R]
path[R]

Public Class Methods

new(opts) click to toggle source
# File lib/repobrowse/repo.rb, line 12
def initialize(opts)
  @lineno_prefix = 'n' # 'l' for gitweb conversions
  opts.each { |k, v| instance_variable_set "@#{k}", v }
  case @vcs
  when 'git'
    @driver = Repobrowse::Git.new(@path)
  end
end