Class: Wee::Task

Inherits:
Component show all
Defined in:
lib/wee/task.rb

Constant Summary

Constants inherited from Component

Component::NO_CHILDREN

Instance Method Summary collapse

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

#goObject



7
8
# File 'lib/wee/task.rb', line 7

def go
end

#render(r) ⇒ Object



10
11
12
# File 'lib/wee/task.rb', line 10

def render(r)
  r.session.send_response(RedirectResponse.new(r.url_for_callback(method(:go))))
end