diff options
author | murphy <murphy@rubychan.de> | 2005-11-05 02:28:36 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-11-05 02:28:36 +0000 |
commit | 0b60a93641a5bfafb2b07f81a8e9c7da03ef3c86 (patch) | |
tree | 2ec0db388cc2f54f0e43e93a41471cd20e70940c /lib | |
parent | 5ffcc03ee3df300cef8c717f3c3b7d54643d82ce (diff) | |
download | coderay-0b60a93641a5bfafb2b07f81a8e9c7da03ef3c86.tar.gz |
New helper module scheme, step 3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/coderay/encoders/html.rb | 6 | ||||
-rw-r--r-- | lib/coderay/encoders/html/classes.rb (renamed from lib/coderay/encoders/html/html_helper.rb) | 0 | ||||
-rw-r--r-- | lib/coderay/encoders/html/css.rb (renamed from lib/coderay/encoders/html/html_css.rb) | 0 | ||||
-rw-r--r-- | lib/coderay/encoders/html/numerization.rb (renamed from lib/coderay/encoders/html/html_numerization.rb) | 0 | ||||
-rw-r--r-- | lib/coderay/encoders/html/output.rb (renamed from lib/coderay/encoders/html/html_output.rb) | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/ruby.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/ruby/helper.rb (renamed from lib/coderay/scanners/ruby/ruby_helper.rb) | 0 |
7 files changed, 5 insertions, 5 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb index 22738d8..986bf00 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -80,9 +80,9 @@ module Encoders :hint => false,
}
- require 'coderay/encoders/helpers/html_helper'
- require 'coderay/encoders/helpers/html_output'
- require 'coderay/encoders/helpers/html_css'
+ require 'coderay/encoders/html/classes'
+ require 'coderay/encoders/html/output'
+ require 'coderay/encoders/html/css'
def initialize(*)
super
diff --git a/lib/coderay/encoders/html/html_helper.rb b/lib/coderay/encoders/html/classes.rb index 6a2938e..6a2938e 100644 --- a/lib/coderay/encoders/html/html_helper.rb +++ b/lib/coderay/encoders/html/classes.rb diff --git a/lib/coderay/encoders/html/html_css.rb b/lib/coderay/encoders/html/css.rb index 80ccab4..80ccab4 100644 --- a/lib/coderay/encoders/html/html_css.rb +++ b/lib/coderay/encoders/html/css.rb diff --git a/lib/coderay/encoders/html/html_numerization.rb b/lib/coderay/encoders/html/numerization.rb index f51b5d3..f51b5d3 100644 --- a/lib/coderay/encoders/html/html_numerization.rb +++ b/lib/coderay/encoders/html/numerization.rb diff --git a/lib/coderay/encoders/html/html_output.rb b/lib/coderay/encoders/html/output.rb index f17965d..c8985da 100644 --- a/lib/coderay/encoders/html/html_output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -13,7 +13,7 @@ module CodeRay # TODO: more doc.
module Output
- require 'coderay/encoders/helpers/html_numerization.rb'
+ require 'coderay/encoders/html/numerization.rb'
attr_accessor :wrapped_in
diff --git a/lib/coderay/scanners/ruby.rb b/lib/coderay/scanners/ruby.rb index bca0759..a4d042f 100644 --- a/lib/coderay/scanners/ruby.rb +++ b/lib/coderay/scanners/ruby.rb @@ -18,7 +18,7 @@ module CodeRay module Scanners register_for :ruby
- require 'coderay/scanners/helpers/ruby_helper'
+ require 'coderay/scanners/ruby/helper'
DEFAULT_OPTIONS = {
:parse_regexps => true,
diff --git a/lib/coderay/scanners/ruby/ruby_helper.rb b/lib/coderay/scanners/ruby/helper.rb index ad649da..ad649da 100644 --- a/lib/coderay/scanners/ruby/ruby_helper.rb +++ b/lib/coderay/scanners/ruby/helper.rb |