Fixes #179. Handle modules with no descriptions
git-svn-id: file:///home/svn/framework3/trunk@5344 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1e2ec68913
commit
5b2af0fe18
|
@ -52,11 +52,10 @@ module Gtk2
|
||||||
end
|
end
|
||||||
desc.strip!
|
desc.strip!
|
||||||
|
|
||||||
if(not (desc[-1] >= 0x21 and desc[-1] <= 0x2e) )
|
if(desc.length > 0 and not (desc[-1] >= 0x21 and desc[-1] <= 0x2e) )
|
||||||
desc << "."
|
desc << "."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@buffer.insert_with_tags(start, "Module: ", "_")
|
@buffer.insert_with_tags(start, "Module: ", "_")
|
||||||
@buffer.insert_with_tags(start, "#{obj.fullname}\n\n", "black_wrap")
|
@buffer.insert_with_tags(start, "#{obj.fullname}\n\n", "black_wrap")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue