summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/page.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders/page.rb')
-rw-r--r--lib/coderay/encoders/page.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/coderay/encoders/page.rb b/lib/coderay/encoders/page.rb
index 9f3538e..8db45cd 100644
--- a/lib/coderay/encoders/page.rb
+++ b/lib/coderay/encoders/page.rb
@@ -1,6 +1,6 @@
module CodeRay
module Encoders
-
+
load :html
# Wraps the output into a HTML page, using CSS classes and
@@ -8,17 +8,17 @@ module Encoders
#
# See Encoders::HTML for available options.
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