Sha256: 93e3271bd6a33c8ec82d4f62779503cfe5478daa6170b0405c3100775014406c

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 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

1 entries across 1 versions & 1 rubygems

Version Path
coderay-1.0.0.788.pre lib/coderay/encoders/page.rb