Class: Textile2Signature

### Home Classes Methods

### In Files

- lib/maruku/input_textile2/t2_parser.rb

### Parent

Object

### Methods

- ::new

### Class/Module Index

Quicksearch

- MaRuKu
- MaRuKu::AttributeList
- MaRuKu::Errors
- MaRuKu::Exception
- MaRuKu::HTMLElement
- MaRuKu::HTMLFragment
- MaRuKu::Helpers
- MaRuKu::In
- MaRuKu::In::Markdown
- MaRuKu::In::Markdown::BlockLevelParser
- MaRuKu::In::Markdown::BlockLevelParser::BlockContext
- MaRuKu::In::Markdown::BlockLevelParser::LineSource
- MaRuKu::In::Markdown::SpanExtension
- MaRuKu::In::Markdown::SpanLevelParser
- MaRuKu::In::Markdown::SpanLevelParser::CharSourceDebug
- MaRuKu::In::Markdown::SpanLevelParser::CharSourceManual
- MaRuKu::In::Markdown::SpanLevelParser::CharSourceStrscan
- MaRuKu::In::Markdown::SpanLevelParser::HTMLHelper
- MaRuKu::In::Markdown::SpanLevelParser::SpanContext
- MaRuKu::MDDocument
- MaRuKu::MDElement
- MaRuKu::MDHTMLElement
- MaRuKu::MDLine
- MaRuKu::NokogiriHTMLFragment
- MaRuKu::Out
- MaRuKu::Out::EntityTable
- MaRuKu::Out::HTML
- MaRuKu::Out::HTML::HTMLElement
- MaRuKu::Out::Latex
- MaRuKu::Out::Latex::MDDocumentExtensions
- MaRuKu::Out::Markdown
- MaRuKu::REXMLHTMLFragment
- MaRuKu::Section
- MaRuKu::Strings
- Maruku
- Maruku::In
- Maruku::In::Markdown
- Maruku::In::Markdown::FencedCode
- Object
- String
- Textile2Signature

No matching classes.

# Textile2Signature

### Constants

Reg

### Attributes

block_name[RW]
css_class[RW]
css_id[RW]
double_dot[RW]
filters[RW]
lang[RW]
num_left_pad[RW]
num_right_pad[RW]
style[RW]
text_align[RW]

### Public Class Methods

new(s) click to toggle source

    # File lib/maruku/input_textile2/t2_parser.rb, line 55
    def initialize(s)
            if m = Reg.match(s)
                    self.block_name = m[1]
                    self.style = m[3]
                    self.lang = m[4]
                    self.css_class = m[6]
                    self.css_id = m[7]
                    self.text_align = {nil=>nil,'>'=>'right','<'=>'left',
                            '<>'=>'center','='=>'justified'}[m[8]]
                    self.num_left_pad = m[9] && m[9].size
                    self.num_right_pad = m[10] && m[10].size
                    self.filters = m[11] && m[11].split('|')
                    self.double_dot = m[12] && true
            end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.