Permalink
Browse files

* Fixed call-seq output.

  • Loading branch information...
Erik Hollensbe
Erik Hollensbe committed Jul 12, 2010
1 parent c55aa69 commit c42e62dcaa29b320aeecbd9b4d73e0c1d9bbaf6e
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/hanna/template_files/sections.haml
@@ -63,7 +63,9 @@
.synopsis
- method_html = capture_haml do
- if method.call_seq
- %span.name= method.call_seq
+ %span.name
+ - method.call_seq.split(/\r?\n/).each do |seq|
+ %div=seq
- else
%span.name= method.name
%span.arguments= method.params

0 comments on commit c42e62d

Please sign in to comment.