Sha256: e1e0c838218df5cf667f6c4e6d286c6ce873ac60d3978b857e3008ea67c2774b

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 Bytes

Contents

# Ronn 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.
module Ronn
  # Create a new Ronn::Document for the given ronn file. See
  # Ronn::Document.new for usage information.
  def self.new(filename, attributes={}, &block)
    Document.new(filename, attributes, &block)
  end

  # bring REV up to date with: rake rev
  REV = '0.6.0'
  VERSION = REV[/(?:[\d.]+)(?:-\d+)?/].tr('-', '.')

  def self.release?
    REV != '' && !REV.include?('-')
  end

  autoload :Document, 'ronn/document'
  autoload :Roff,     'ronn/roff'
  autoload :Server,   'ronn/server'
  autoload :Template, 'ronn/template'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronn-0.6.0 lib/ronn.rb