Upgraded Rails and RSpec
[monkeycharger.git] / vendor / plugins / rspec / doc / plugin / syntax.rb
blob4ea2c7e90237faf2bd22efa219db4fcc2f868dba
1 require File.dirname(__FILE__) + "/rspec_content"
3 class RSpecContentConverter < ContentConverters::DefaultContentConverter
4   include ::RSpec::SyntaxConverter
5   
6   infos(:name => "ContentConverter/Rspec", 
7         :author => "Rspec / Scott Taylor", 
8         :summary => "Redcloth + Ruby HTML tag syntax converter") 
9         
10   register_handler 'rspec'
11   
12   def call(content)
13     RSpecContent.new(content).to_html
14   end
15   
16 end