@subjects_rendered = true unless options[:only] == :lines
@lines_rendered = true unless options[:only] == :subjects
+
+ render_end(options)
end
def render_project(project, options={})
options[:indent] -= options[:indent_increment]
end
end
+
+ def render_end(options={})
+ case options[:format]
+ when :pdf
+ options[:pdf].Line(15, options[:top], PDF::TotalWidth, options[:top])
+ end
+ end
def subject_for_project(project, options)
case options[:format]
:pdf => pdf
}
render(options)
-
- pdf.Line(15, top, subject_width+g_width, top)
pdf.Output
end