Sha256: 34746ce5827ff7979c6669c650d5ec3387bcdb09c7f6631ff9e7ace6327e56cc

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

#          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'tagz'

module Ramaze
  module Helper
    ##
    # Allows you to use some shortcuts for Tagz in your Controller.
    # use this inside your controller to directly build Tagz
    # Refer to the Tagz-documentation and testsuite for more examples.
    # Usage:
    #   tagz { h1_{ "Apples & Oranges" } }  #=> "<h1>Apples &amp; Oranges</h1>"
    #   tagz { h1_(:class => 'fruits&floots'){ 'Apples' } }
    #
    Tagz = ::Tagz
  end # Helper
end # Ramaze

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ramaze-2011.07.25 lib/ramaze/helper/tagz.rb