Module: Ramaze::Helper::Asset
- Defined in:
- lib/zen/helper/asset.rb
Overview
Helper that makes it a bit easier to add assets to Zen.asset. All assets added via this module are only loaded for the class that called the method.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary (collapse)
-
+ (Object) included(klass)
Extends the including class with the ClassMethods module.
Class Method Details
+ (Object) included(klass)
Extends the including class with the ClassMethods module.
17 18 19 |
# File 'lib/zen/helper/asset.rb', line 17 def self.included(klass) klass.extend(Ramaze::Helper::Asset::ClassMethods) end |