Class: Vedeu::View
Constant Summary
Constants included from API
API::InterfaceNotSpecified, API::OutOfRange
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object = nil) ⇒ View
constructor
A new instance of View.
- #output ⇒ Object
- #render ⇒ Object
Methods included from API
#event, #events, #interface, #log, #trigger, #use, #view
Constructor Details
#initialize(object = nil) ⇒ View
11 12 13 |
# File 'lib/vedeu/output/view.rb', line 11 def initialize(object = nil) @object = object end |
Class Method Details
.render(object = nil) ⇒ Object
7 8 9 |
# File 'lib/vedeu/output/view.rb', line 7 def self.render(object = nil) new(object).render end |
Instance Method Details
#output ⇒ Object
21 22 23 |
# File 'lib/vedeu/output/view.rb', line 21 def output fail NotImplemented, 'Implement #output on your subclass of Vedeu::View.' end |