Module: Kramdown::Utils

### Home Classes Methods

### In Files

- lib/kramdown/utils.rb
- lib/kramdown/utils/entities.rb
- lib/kramdown/utils/html.rb
- lib/kramdown/utils/ordered_hash.rb

### Namespace

- MODULE Kramdown::Utils::Entities
- MODULE Kramdown::Utils::Html
- CLASS Kramdown::Utils::OrderedHash

### Methods

- ::camelize

### Class/Module Index

Quicksearch

- Kramdown
- Kramdown::Converter
- Kramdown::Converter::Base
- Kramdown::Converter::Html
- Kramdown::Converter::Kramdown
- Kramdown::Converter::Latex
- Kramdown::Converter::RemoveHtmlTags
- Kramdown::Converter::Toc
- Kramdown::Document
- Kramdown::Element
- Kramdown::Error
- Kramdown::Options
- Kramdown::Options::Boolean
- Kramdown::Parser
- Kramdown::Parser::Base
- Kramdown::Parser::Html
- Kramdown::Parser::Html::Constants
- Kramdown::Parser::Html::ElementConverter
- Kramdown::Parser::Html::Parser
- Kramdown::Parser::Kramdown
- Kramdown::Parser::Markdown
- Kramdown::Utils
- Kramdown::Utils::Entities
- Kramdown::Utils::Entities::Entity
- Kramdown::Utils::Html
- Kramdown::Utils::OrderedHash

No matching classes.

# Kramdown::Utils

## Utils Module

This module contains utility class/modules/methods that can be used by both parsers and converters.

### Constants

OrderedHash

### Public Class Methods

camelize(name) click to toggle source

Treat `name` as if it were snake cased (e.g. snake_case) and camelize it (e.g. SnakeCase).

    # File lib/kramdown/utils.rb, line 35
    def self.camelize(name)
      name.split('_').inject('') {|s,x| s << x[0..0].upcase + x[1..-1] }
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.