Module: Innate::Helper
- Defined in:
- lib/innate/helper.rb,
lib/innate/helper/cgi.rb,
lib/innate/helper/link.rb,
lib/innate/helper/flash.rb,
lib/innate/helper/aspect.rb,
lib/innate/helper/render.rb,
lib/innate/helper/redirect.rb,
lib/innate/helper/send_file.rb
Overview
Shortcuts to some CGI methods
Defined Under Namespace
Modules: Aspect, CGI, Flash, Link, Redirect, Render, SendFile
Constant Summary collapse
- LOOKUP =
Public instance methods of helpers in here will be recognized as actions
EXPOSE = Set.new
Class Method Summary collapse
-
.included(into) ⇒ Object
Usually called from Innate::Node::included We also include Innate::Trinity here, as it may be needed in models when you use helper methods there.
Class Method Details
.included(into) ⇒ Object
Usually called from Innate::Node::included We also include Innate::Trinity here, as it may be needed in models when you use helper methods there.
11 12 13 14 15 |
# File 'lib/innate/helper.rb', line 11 def self.included(into) into.extend(HelperAccess) into.__send__(:include, Trinity) into.helper(*HelpersHelper.[:default]) end |