Module: RubyRTF

Defined in:
lib/ruby-rtf/version.rb,
lib/ruby-rtf/font.rb,
lib/ruby-rtf/table.rb,
lib/ruby-rtf/colour.rb,
lib/ruby-rtf/parser.rb,
lib/ruby-rtf/document.rb,
lib/ruby-rtf/ruby-rtf.rb,
lib/ruby-rtf/invalid_document.rb

Overview

Main namespace of the RTF parser

Defined Under Namespace

Classes: Colour, Document, Font, InvalidDocument, Parser, Table

Constant Summary collapse

Color =

Alias the Colour class as Color

Colour
VERSION =

Current library version

'0.0.1'

Class Method Summary collapse

Class Method Details

.twips_to_points(twips) ⇒ Object



4
5
6
# File 'lib/ruby-rtf/ruby-rtf.rb', line 4

def twips_to_points(twips)
  twips / 20.0
end