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.

Since:

Defined Under Namespace

Modules: ClassMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(klass)

Extends the including class with the ClassMethods module.

Parameters:

  • klass (Class)

    The klass that included this module.

Since:

  • 0.3



17
18
19
# File 'lib/zen/helper/asset.rb', line 17

def self.included(klass)
  klass.extend(Ramaze::Helper::Asset::ClassMethods)
end