lib/inch/code_object/provider/yard/object/base.rb in inch-0.3.3 vs lib/inch/code_object/provider/yard/object/base.rb in inch-0.3.4.rc1
- old
+ new
@@ -28,10 +28,20 @@
@__api_tag = __api_tag
@__parent = __parent
@__private_tag = __private_tag
end
+ # Returns the fullname of the object that the current object
+ # is an alias for
+ attr_accessor :aliased_object_fullname
+
+ # Returns the fullnames of the objects that are aliases
+ # for the current object
+ def aliases_fullnames
+ []
+ end
+
def api_tag?
!api_tag.nil?
end
def api_tag
@@ -100,13 +110,9 @@
@fullname ||= object.path
end
def name
@name ||= object.name
- end
-
- def has_alias?
- false
end
def has_children?
!children.empty?
end