lib/inch/code_object/proxy/base.rb in inch-0.2.0 vs lib/inch/code_object/proxy/base.rb in inch-0.2.1

- old
+ new

@@ -147,10 +147,10 @@ !object.tag(:private).nil? || (parent && parent.private_tag?) end def private_api_tag? tag = object.tag(:api) - tag.text == 'private' + tag && tag.text == 'private' end def protected? visibility == :protected end