Module: Ron

Defined in:
lib/ron.rb,
lib/ron/roff.rb,
lib/ron/document.rb

Overview

Ron is a humane text format and toolchain for authoring manpages (and things that appear as manpages from a distance). Use it to build / install standard UNIX roff(7) formatted manpages or to generate beautiful HTML manpages.

Defined Under Namespace

Classes: Document, RoffFilter

Constant Summary collapse

VERSION =
'0.2'

Class Method Summary collapse

Class Method Details

.new(filename, attributes = {}, &block) ⇒ Object

Create a new Ron::Document for the given ron file. See Ron::Document.new for usage information.



13
14
15
# File 'lib/ron.rb', line 13

def self.new(filename, attributes={}, &block)
  Document.new(filename, attributes, &block)
end