History

Fix type naming and remove debug statement

Harm Aarts committed 7 years ago

Commit dea577a1 parent 04ccf961 file · +1 −2Browse files

Unified · Split

lib/docs/filters/pony/entries.rb+1−2
@@ -2,12 +2,11 @@ module Docs · 1 unmodified line
2 class Pony2 class Pony
3 class EntriesFilter < Docs::EntriesFilter3 class EntriesFilter < Docs::EntriesFilter
4 def get_name4 def get_name
5 binding.pry
6 context[:html_title].sub(/ - .*/, '')5 context[:html_title].sub(/ - .*/, '')
7 end6 end
8 7
9 def get_type8 def get_type
10 subpath.split('-')[0][1..-1]9 subpath.split('-')[0][0..-1]
11 end10 end
12 end11 end
13 end12 end