### Home Classes Methods

### In Files

- lib/prawn/measurement_extensions.rb

### Parent

Object

### Methods

- #cm
- #dm
- #ft
- #in
- #m
- #mm
- #pt
- #yd

### Included Modules

- Prawn::Measurements

### Files

- COPYING
- GPLv2
- GPLv3
- LICENSE

### Class/Module Index

Quicksearch

- Prawn
- Prawn::Core
- Prawn::Core::Page
- Prawn::Core::Page::GraphicsState
- Prawn::Core::Reference
- Prawn::Document
- Prawn::Document::BoundingBox
- Prawn::Document::ColumnBox
- Prawn::Document::GraphicsState
- Prawn::Document::Grid
- Prawn::Document::Internals
- Prawn::Document::PageGeometry
- Prawn::Document::Security
- Prawn::Document::Snapshot
- Prawn::Encoding
- Prawn::Errors
- Prawn::Font
- Prawn::Font::AFM
- Prawn::Font::DFont
- Prawn::Font::TTF
- Prawn::GraphicState
- Prawn::GraphicStateStack
- Prawn::Graphics
- Prawn::Graphics::CapStyle
- Prawn::Graphics::Color
- Prawn::Graphics::Dash
- Prawn::Graphics::Gradient
- Prawn::Graphics::JoinStyle
- Prawn::Graphics::Transformation
- Prawn::Graphics::Transparency
- Prawn::Images
- Prawn::Images::JPG
- Prawn::Images::PNG
- Prawn::Layout
- Prawn::Measurements
- Prawn::Outline
- Prawn::Stamp
- Prawn::Table
- Prawn::Table::Cell
- Prawn::Table::Cell::InTable
- Prawn::Table::Cell::Subtable
- Prawn::Table::Cell::Text
- Prawn::Table::Cells
- Prawn::Text
- Prawn::Text::Box
- Prawn::Text::Formatted
- Prawn::Text::Formatted::Box
- Prawn::Text::Formatted::Fragment
- Prawn::Text::Formatted::Parser
- Arcfour
- Numeric

No matching classes.

# Numeric

### Public Instance Methods

cm() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 18
    def cm
      return cm2pt(self)
    end

dm() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 22
    def dm
      return dm2pt(self)
    end

ft() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 38
    def ft
      return ft2pt(self)
    end

in() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 30
    def in
      return in2pt(self)
    end

m() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 26
    def m
      return m2pt(self)
    end

mm() click to toggle source

prawns' basic unit is PostScript-Point 72 points per inch

    # File lib/prawn/measurement_extensions.rb, line 14
    def mm
      return mm2pt(self)
    end

pt() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 42
    def pt
      return self
    end

yd() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 34
    def yd
      return yd2pt(self)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.