Class: Mab::RailsBuilder

### Home Classes Methods

### In Files

- lib/mab/rails.rb

### Parent

Mab::Builder

### Methods

- #content_for

### Class/Module Index

Quicksearch

- Mab
- Mab::Builder
- Mab::Indentation
- Mab::Mixin
- Mab::Mixin::Context
- Mab::Mixin::Error
- Mab::Mixin::HTML5
- Mab::Mixin::HTMLDefiners
- Mab::Mixin::Tag
- Mab::Mixin::XHTML5
- Mab::Mixin::XML
- Mab::PrettyBuilder
- Mab::RailsBuilder
- Mab::RailsHandler
- Mab::SimpleBuilder
- Object

No matching classes.

# Mab::RailsBuilder

### Public Instance Methods

content_for(*args) click to toggle source

    # File lib/mab/rails.rb, line 3
    def content_for(*args)
      blk = proc do |*a|
        mab { yield(*a) }.html_safe
      end if block_given?

      @_helper.send(:content_for, *args, &blk)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.