lib/inch/language/elixir/provider/reader/object/base.rb in inch-0.5.3 vs lib/inch/language/elixir/provider/reader/object/base.rb in inch-0.5.4
- old
+ new
@@ -105,11 +105,13 @@
def method?
false
end
+ HIDDEN_TYPES = %w(defcallback defmacro exception impl)
def nodoc?
- @hash['doc'] == false
+ @hash['doc'] == false ||
+ HIDDEN_TYPES.include?(@hash['type'])
end
def namespace?
false
end