module Innate::HelperAccess
Provides access to helper method without polluting the name-space any further.
Public Instance Methods
helper(*helpers)
click to toggle source
Convenience method used by Innate::Node.
Usage:
class Hi extend Innate::HelperAccess helper :cgi, :link, :aspect end
This will require the helpers and call:
Hi.include(Innate::Helper::CGI) Hi.include(Innate::Helper::Link) Hi.include(Innate::Helper::Aspect)
# File lib/innate/helper.rb, line 36 def helper(*helpers) HelpersHelper.each_include(self, *helpers) end