Class: Mab::Mixin::Context

### Home Classes Methods

### In Files

- lib/mab/mixin.rb

### Parent

Array

### Methods

- ::new
- #<<
- #join
- #joining?

### 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::Mixin::Context

### Attributes

children[RW]
options[RW]

### Public Class Methods

new() click to toggle source

    # File lib/mab/mixin.rb, line 130
    def initialize
      @children = 0
      @joining = false
      @options = {}
    end

### Public Instance Methods

<<(str) click to toggle source

    # File lib/mab/mixin.rb, line 136
    def <<(str)
      @children += 1
      super(str)
    end

join(*) click to toggle source

    # File lib/mab/mixin.rb, line 141
    def join(*)
      @joining = true
      super
    end

joining?() click to toggle source

    # File lib/mab/mixin.rb, line 146
    def joining?
      @joining
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.