Sha256: 58b8c214aa818255b7970c1a20cc973fe9eb2c665e4b7a2d5f9ce6fd9cd0dff9

Contents?: true

Size: 426 Bytes

Versions: 6946

Compression:

Stored size: 426 Bytes

Contents

module CodeRay
module Encoders
  
  load :html
  
  # Wraps HTML output into a DIV element, using inline styles by default.
  # 
  # See Encoders::HTML for available options.
  class Div < HTML
    
    FILE_EXTENSION = 'div.html'
    
    register_for :div
    
    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
      :css          => :style,
      :wrap         => :div,
      :line_numbers => false
    
  end
  
end
end

Version data entries

6,946 entries across 6,934 versions & 73 rubygems

Version Path
torquebox-console-0.2.5 vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/div.rb
torquebox-console-0.2.4 vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/div.rb
torquebox-console-0.2.3 vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/div.rb
coderay-1.0.9 lib/coderay/encoders/div.rb
coderay-1.0.9.rc1 lib/coderay/encoders/div.rb
coderay-1.0.8 lib/coderay/encoders/div.rb
coderay-1.0.8.rc1 lib/coderay/encoders/div.rb
coderay-1.0.7 lib/coderay/encoders/div.rb
coderay-1.0.7.rc2 lib/coderay/encoders/div.rb
coderay-1.0.7.rc1 lib/coderay/encoders/div.rb
coderay-1.0.6 lib/coderay/encoders/div.rb
coderay-1.0.6.rc1 lib/coderay/encoders/div.rb
coderay-1.0.5 lib/coderay/encoders/div.rb
coderay-1.0.5.rc1 lib/coderay/encoders/div.rb
coderay-1.0.4 lib/coderay/encoders/div.rb
coderay-1.0.3 lib/coderay/encoders/div.rb
coderay-1.0.2 lib/coderay/encoders/div.rb
coderay-1.0.1 lib/coderay/encoders/div.rb
coderay-1.0.0 lib/coderay/encoders/div.rb
coderay-1.0.0.864rc3 lib/coderay/encoders/div.rb