Class: Dolt::Sinatra::Base
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Dolt::Sinatra::Base
- Includes:
- Actions
- Defined in:
- lib/dolt/sinatra/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#actions ⇒ Object
readonly
Returns the value of attribute actions.
-
#renderer ⇒ Object
readonly
Returns the value of attribute renderer.
Instance Method Summary collapse
-
#initialize(actions, renderer) ⇒ Base
constructor
A new instance of Base.
Methods included from Actions
#blame, #blob, #error, #history, #raw, #redirect, #refs, #resolve_repository, #tree, #tree_entry, #tree_history
Constructor Details
#initialize(actions, renderer) ⇒ Base
Returns a new instance of Base.
27 28 29 30 31 |
# File 'lib/dolt/sinatra/base.rb', line 27 def initialize(actions, renderer) @actions = actions @renderer = renderer super() end |
Instance Attribute Details
#actions ⇒ Object (readonly)
Returns the value of attribute actions.
24 25 26 |
# File 'lib/dolt/sinatra/base.rb', line 24 def actions @actions end |
#renderer ⇒ Object (readonly)
Returns the value of attribute renderer.
24 25 26 |
# File 'lib/dolt/sinatra/base.rb', line 24 def renderer @renderer end |