Sha256: 47309f9b7aaf4bf6997a073b440c59ec07675eb564bc1acb35ed3ac9f7e72f4a

Contents?: true

Size: 912 Bytes

Versions: 2

Compression:

Stored size: 912 Bytes

Contents

merb_helpers
=================

A plugin for the Merb Web framework that provides different view helpers.

To use this plugin in merb in your app

config/dependencies.rb

#...

dependency "merb_helpers"

#...

By default all modules of merb_helpers are loaded and are available to your merb app.

You can selectively include/exclude modules from this list to keep you app lean if you like. 
The inclusions/exclusions are relative to all modules.  

\:include: will only include the specified modules.

\:exclude: will include all except the specified modules.

Do not use :include: and :exclude: options at the same time or an error will be raised.

To set this up in config/plugins.yml

To Include specified helpers

  \:merb_helpers:
    \:include: - date_time_helpers
              - form_helpers

To Exclude specified helpers

  \:merb_helpers:
    \:exclude: - date_time_helpers
              - form_helpers

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb_helpers-0.5 README
merb_helpers-0.9.2 README