Module: Innate::HelperAccess
- Defined in:
- /home/manveru/github/ramaze/ramaze.net/tmp/git/innate/lib/innate/helper.rb
Overview
Provides access to #helper method without polluting the name-space any further.
Instance Method Summary (collapse)
-
- (Object) helper(*helpers)
Convenience method used by Innate::Node.
Instance Method Details
- (Object) helper(*helpers)
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)
36 37 38 |
# File '/home/manveru/github/ramaze/ramaze.net/tmp/git/innate/lib/innate/helper.rb', line 36 def helper(*helpers) HelpersHelper.each_include(self, *helpers) end |