Class: CodeRay::Encoders::Div
- Defined in:
- lib/coderay/encoders/div.rb
Overview
Wraps HTML output into a DIV element, using inline styles by default.
See Encoders::HTML for available options.
Constant Summary collapse
- FILE_EXTENSION =
'div.html'
- DEFAULT_OPTIONS =
HTML::DEFAULT_OPTIONS.merge \ :css => :style, :wrap => :div, :line_numbers => false
Instance Attribute Summary
Attributes inherited from HTML
Attributes inherited from Encoder
Attributes included from Plugin
Method Summary
Methods inherited from HTML
#begin_group, #begin_line, #end_group, #end_line, #text_token
Methods inherited from Encoder
#<<, #begin_group, #begin_line, const_missing, #encode, #encode_tokens, #end_group, #end_line, #file_extension, file_extension, #initialize, #text_token, #token
Methods included from Plugin
#aliases, #plugin_host, #register_for, #title
Constructor Details
This class inherits a constructor from CodeRay::Encoders::Encoder