notorious 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/notorious.rb +2 -2
- data/lib/notorious/version.rb +1 -1
- metadata +1 -1
data/lib/notorious.rb
CHANGED
@@ -14,7 +14,7 @@ module Notorious
|
|
14
14
|
|
15
15
|
|
16
16
|
# make the html
|
17
|
-
html = self.render(file_name, stylesheet)
|
17
|
+
html = self.render(file_name, title, stylesheet)
|
18
18
|
|
19
19
|
# write to the output file
|
20
20
|
outfile = File.new(File.expand_path(output), 'w')
|
@@ -33,7 +33,7 @@ module Notorious
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def self.render(file_name, stylesheet)
|
36
|
+
def self.render(file_name, title, stylesheet)
|
37
37
|
begin
|
38
38
|
styles = File.new(stylesheet, 'r').read
|
39
39
|
rescue
|
data/lib/notorious/version.rb
CHANGED