diff options
author | murphy <murphy@rubychan.de> | 2005-11-13 06:24:54 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-11-13 06:24:54 +0000 |
commit | b60448c9788d37d7c0ab9cd0a3f0337861c64843 (patch) | |
tree | b4046870310445532e0ff9b6aef70bc17086ab62 /lib/coderay/style.rb | |
parent | 07da5153646a7ae0a9551533221870c47ec950d2 (diff) | |
download | coderay-b60448c9788d37d7c0ab9cd0a3f0337861c64843.tar.gz |
New Style system added - still beta.
Demos adjusted
coderay.rb, encoders/html.rb, encoders/div.rb adjusted.
encoders/html/* files rebuild.
Diffstat (limited to 'lib/coderay/style.rb')
-rw-r--r-- | lib/coderay/style.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/coderay/style.rb b/lib/coderay/style.rb new file mode 100644 index 0000000..d0eb7ae --- /dev/null +++ b/lib/coderay/style.rb @@ -0,0 +1,20 @@ +module CodeRay
+
+ # This module holds the Style class and its subclasses.
+ #
+ # See Plugin.
+ module Styles
+ extend PluginHost
+ plugin_path File.dirname(__FILE__), 'styles'
+
+ class Style
+ extend Plugin
+ plugin_host Styles
+
+ DEFAULT_OPTIONS = { }
+
+ end
+
+ end
+
+end
|