From b60448c9788d37d7c0ab9cd0a3f0337861c64843 Mon Sep 17 00:00:00 2001 From: murphy Date: Sun, 13 Nov 2005 06:24:54 +0000 Subject: New Style system added - still beta. Demos adjusted coderay.rb, encoders/html.rb, encoders/div.rb adjusted. encoders/html/* files rebuild. --- lib/coderay/style.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/coderay/style.rb (limited to 'lib/coderay/style.rb') 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 -- cgit v1.2.1