Class: Dolt::Sinatra::SingleRepoBrowser
- Includes:
- View::Blob, View::SingleRepository, View::Tree
- Defined in:
- lib/dolt/sinatra/single_repo_browser.rb
Instance Attribute Summary collapse
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(repo, actions, renderer) ⇒ SingleRepoBrowser
constructor
A new instance of SingleRepoBrowser.
Methods included from View::Tree
#tree_context, #tree_entries, #tree_table_padding_td, #tree_table_padding_width, #tree_url
Methods included from View::Blob
#blame_url, #blob_url, #format_blob, #history_url, #multiline, #raw_url
Methods included from View::SingleRepository
Methods included from Actions
#blame, #blob, #error, #history, #raw, #redirect, #tree
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
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
29 30 31 |
# File 'lib/dolt/sinatra/single_repo_browser.rb', line 29 def repo @repo end |