lib/inch/language/elixir/provider/reader/object/base.rb in inch-0.5.0.rc11 vs lib/inch/language/elixir/provider/reader/object/base.rb in inch-0.5.0
- old
+ new
@@ -86,18 +86,18 @@
def has_children?
!children_fullnames.empty?
end
def has_code_example?
- false # raise NotImplementedError
+ docstring.code_examples.size > 0
end
def has_doc?
!undocumented?
end
def has_multiple_code_examples?
- false # raise NotImplementedError
+ docstring.code_examples.size > 1
end
def has_unconsidered_tags?
false # raise NotImplementedError
end