Sha256: e832770fca8c1c747d5fa2f31bbba4074b9cbe22c2c574c84c0e937391c63e54

Contents?: true

Size: 462 Bytes

Versions: 6664

Compression:

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

6,664 entries across 6,652 versions & 72 rubygems

Version Path
coderay-1.0.0.831pre lib/coderay/encoders/page.rb
coderay-1.0.0.815pre lib/coderay/encoders/page.rb
coderay-1.0.0.800pre lib/coderay/encoders/page.rb
coderay-1.0.0.798.pre lib/coderay/encoders/page.rb