Remove class and module from generated names

pull/416/head
Matthias Guenther 9 years ago
parent 936d2cc008
commit c5ddc51d27
No known key found for this signature in database
GPG Key ID: 5287E11BD64C14E5

@ -2,7 +2,9 @@ module Docs
class Padrino
class EntriesFilter < Docs::EntriesFilter
def get_name
at_css('h1, h2').content
name = at_css('h1, h2').content
name.remove! 'Class: '
name.remove! 'Module: '
end
def get_type

Loading…
Cancel
Save