lib/inch/code_object/provider/yard/object/base.rb in inch-0.4.2 vs lib/inch/code_object/provider/yard/object/base.rb in inch-0.4.3.rc1
- old
+ new
@@ -18,11 +18,11 @@
# Tags considered by wrapper methods like {#has_code_example?}
CONSIDERED_YARD_TAGS = %w(api example param private return since)
# convenient shortcuts to (YARD) code object
- def_delegators :object, :type, :namespace, :source, :source_type, :signature, :group, :dynamic, :visibility
+ def_delegators :object, :type, :namespace, :source, :source_type, :group, :dynamic, :visibility
# @param object [YARD::CodeObjects::Base] the actual (YARD) code object
def initialize(object)
@object = object
@__api_tag = __api_tag
@@ -225,10 +225,10 @@
def unconsidered_tag_count
unconsidered_tags.size
end
def inspect
- "#<#{self.class.to_s}: #{path}>"
+ "#<#{self.class.to_s}: #{fullname}>"
end
protected
def multi_code_examples?(text)