Class: Wee::HelloWorld
- Inherits:
-
RootComponent
- Object
- Presenter
- Component
- RootComponent
- Wee::HelloWorld
- Defined in:
- lib/wee.rb
Constant Summary
Constants inherited from Component
Instance Method Summary collapse
Methods inherited from RootComponent
external_resources, instanciate, #javascripts, run, #stylesheets, #title
Methods inherited from Component
#add_decoration, #children, #choose_from, #confirm, #decoration, #decoration=, depends, #each_decoration, #find_decoration, #inform, #initialize, instanciate, #process_callbacks, #remove_decoration, #remove_decoration_if, #state
Methods inherited from Presenter
#process_callbacks, #render!, #renderer_class, #state
Constructor Details
This class inherits a constructor from Wee::Component
Instance Method Details
#render(r) ⇒ Object
34 35 36 |
# File 'lib/wee.rb', line 34 def render(r) r.text "Hello World from Wee!" end |