### 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

### Class/Module Index

Quicksearch

- Prawn
- Prawn::Configurable
- Prawn::Document
- Prawn::Document::BoundingBox
- Prawn::Document::ColumnBox
- Prawn::Document::GraphicsState
- Prawn::Document::Grid
- Prawn::Document::GridBox
- Prawn::Document::Internals
- Prawn::Document::Security
- Prawn::Document::Snapshot
- Prawn::Encoding
- Prawn::Errors
- Prawn::Font
- Prawn::Font::AFM
- Prawn::Font::DFont
- Prawn::Font::TTF
- Prawn::FontMetricCache
- Prawn::Graphics
- Prawn::Graphics::CapStyle
- Prawn::Graphics::Color
- Prawn::Graphics::Dash
- Prawn::Graphics::JoinStyle
- Prawn::Graphics::Patterns
- Prawn::Graphics::Transformation
- Prawn::Graphics::Transparency
- Prawn::ImageHandler
- Prawn::Images
- Prawn::Images::Image
- Prawn::Images::JPG
- Prawn::Images::PNG
- Prawn::Measurements
- Prawn::SoftMask
- Prawn::Stamp
- Prawn::SynchronizedCache
- Prawn::Table
- Prawn::Table::Cell
- Prawn::Table::Cell::Image
- Prawn::Table::Cell::InTable
- Prawn::Table::Cell::SpanDummy
- Prawn::Table::Cell::Subtable
- Prawn::Table::Cell::Text
- Prawn::Table::Cells
- Prawn::Table::ColumnWidthCalculator
- Prawn::Text
- Prawn::Text::Box
- Prawn::Text::Formatted
- Prawn::Text::Formatted::Box
- Prawn::Text::Formatted::Fragment
- Prawn::Text::Formatted::Parser
- Prawn::ThreadLocalCache
- PDF
- PDF::Core
- PDF::Core::Reference
- PDF::Core::Stream
- Arcfour
- Numeric

No matching classes.

# Numeric

@group Stable API

### Public Instance Methods

cm() click to toggle source

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

dm() click to toggle source

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

ft() click to toggle source

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

in() click to toggle source

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

m() click to toggle source

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

mm() click to toggle source

@group Experimental API

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

pt() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 46
    def pt
      return pt2pt(self)
    end

yd() click to toggle source

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.