##// END OF EJS Templates
Adds a builder-like template system for rendering xml and json API responses....
Adds a builder-like template system for rendering xml and json API responses. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4452 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3478:009777062689
r4338:96ce0f017cfe
Show More
page.rb
20 lines | 262 B | text/x-ruby | RubyLexer
module CodeRay
module Encoders
load :html
class Page < HTML
FILE_EXTENSION = 'html'
register_for :page
DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
:css => :class,
:wrap => :page,
:line_numbers => :table
end
end
end