manualdir/lib/examples-filter.rb
### Work around Ultraviolet's retarded interface
Work around Ultraviolet's retarded interface
Work around Ultraviolet ' s retarded interface
def parse_with_ultraviolet( content, lang )
		Uv.init_syntaxes
		syntaxes = Uv.instance_variable_get( :@syntaxes )
		processor = Uv::RenderProcessor.new( RENDERER_OPTIONS, true, false )
		syntaxes[ lang ].parse( content, processor )
		return processor.string
	end
def parse_with_ultraviolet ( content , lang ) Uv . init_syntaxes syntaxes = Uv . instance_variable_get ( :@syntaxes ) processor = Uv :: RenderProcessor . new ( RENDERER_OPTIONS , true , false ) syntaxes [ lang ] . parse ( content , processor ) return processor . string end
Work around Ultraviolet's retarded interface
Work around Ultraviolet ' s retarded interface
content
lang