hubdown 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hubdown/page_builder.rb +2 -1
- data/lib/hubdown/version.rb +1 -1
- metadata +1 -1
data/lib/hubdown/page_builder.rb
CHANGED
@@ -15,7 +15,8 @@ module Hubdown
|
|
15
15
|
links = @scraper.get_css_links
|
16
16
|
body = @body
|
17
17
|
filename = @filename
|
18
|
-
|
18
|
+
template_path = File.dirname(__FILE__) + "/template.html.erb"
|
19
|
+
template = ERB.new( File.read( template_path ), nil, "-" )
|
19
20
|
page = template.result(binding)
|
20
21
|
page
|
21
22
|
end
|
data/lib/hubdown/version.rb
CHANGED