txt2html

Path: script/txt2html
Last Update: Thu Jun 25 00:26:39 -0300 2009

Required files

rubyforge   redcloth   syntax/convertors/html   erb  

Methods

Public Instance methods

[Source]

# File script/txt2html, line 36
def convert_syntax(syntax, source)
  return Syntax::Convertors::HTML.for_syntax(syntax).convert(source).gsub(%r!^<pre>|</pre>$!,'')
end

[Source]

# File script/txt2html, line 12
def rubyforge_project_id
  RubyForge.new.configure.autoconfig["group_ids"][$hoe.rubyforge_name]
end

[Validate]