Class: Beamer::Loader::Base
- Inherits:
-
Object
- Object
- Beamer::Loader::Base
- Defined in:
- lib/beamer/loader/base.rb
Direct Known Subclasses
LoadByClassName, LoadByDemodulizedClassName, LoadWithDemodulizedFallback
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#view_context ⇒ Object
readonly
Returns the value of attribute view_context.
Instance Method Summary collapse
-
#initialize(object, view_context) ⇒ Base
constructor
A new instance of Base.
- #load_presenter ⇒ Object
Constructor Details
#initialize(object, view_context) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/beamer/loader/base.rb', line 8 def initialize(object, view_context) @object = object @view_context = view_context end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
5 6 7 |
# File 'lib/beamer/loader/base.rb', line 5 def object @object end |
#view_context ⇒ Object (readonly)
Returns the value of attribute view_context.
6 7 8 |
# File 'lib/beamer/loader/base.rb', line 6 def view_context @view_context end |
Instance Method Details
#load_presenter ⇒ Object
13 14 15 |
# File 'lib/beamer/loader/base.rb', line 13 def load_presenter raise "implement!" end |