Class: Dolt::Sinatra::SingleRepoBrowser

Inherits:
Base
  • Object
show all
Includes:
View::Blob, View::SingleRepository, View::Tree
Defined in:
lib/dolt/sinatra/single_repo_browser.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#actions, #renderer

Instance Method Summary collapse

Methods included from Actions

#blame, #blob, #error, #history, #raw, #redirect, #refs, #tree, #tree_entry, #tree_history

Constructor Details

#initialize(repo, actions, renderer) ⇒ SingleRepoBrowser

Returns a new instance of SingleRepoBrowser.



31
32
33
34
# File 'lib/dolt/sinatra/single_repo_browser.rb', line 31

def initialize(repo, actions, renderer)
  @repo = repo
  super(actions, renderer)
end

Instance Attribute Details

#repoObject (readonly)

Returns the value of attribute repo.



29
30
31
# File 'lib/dolt/sinatra/single_repo_browser.rb', line 29

def repo
  @repo
end