lib/inch/language/ruby/provider/yard/object/base.rb in inch-0.6.0.rc5 vs lib/inch/language/ruby/provider/yard/object/base.rb in inch-0.6.0.rc6

- old
+ new

@@ -204,11 +204,15 @@ def parameters [] end - # @return [Array,nil] the parent of the current object or +nil+ + # @return [CodeObject::Base,nil] the parent of the current object or +nil+ attr_reader :parent + + def parent_fullname + parent && parent.fullname + end def __parent YARD::Object.for(object.parent) if object.parent end