To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / c9 / c9ed1c5ecdb956b01f130ded5e7336f5878cd4a2.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (423 Bytes)
| 1 |
module CodeRay |
|---|---|
| 2 |
|
| 3 |
# This module holds the Style class and its subclasses. |
| 4 |
# |
| 5 |
# See Plugin. |
| 6 |
module Styles |
| 7 |
extend PluginHost |
| 8 |
plugin_path File.dirname(__FILE__), 'styles' |
| 9 |
|
| 10 |
# Base class for styles. |
| 11 |
# |
| 12 |
# Styles are used by Encoders::HTML to colorize tokens. |
| 13 |
class Style |
| 14 |
extend Plugin |
| 15 |
plugin_host Styles |
| 16 |
|
| 17 |
DEFAULT_OPTIONS = { } # :nodoc:
|
| 18 |
|
| 19 |
end |
| 20 |
|
| 21 |
end |
| 22 |
|
| 23 |
end |