Sha256: a96b8d39042763f2d068d0a3655d641d0149dfdc4bd512564912105502ee05cd

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

module CodeRay
module Encoders

  load :html
  
  # Wraps the output into a HTML page, using CSS classes and
  # line numbers in the table format by default.
  # 
  # 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coderay-1.0.0.778.pre lib/coderay/encoders/page.rb
coderay-1.0.0.738.pre ./lib/coderay/encoders/page.rb
coderay-1.0.0.598.pre ./lib/coderay/encoders/page.rb