123456789_123456789_123456789_123456789_123456789_

Class: YARD::Tags::DefaultTag

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Tag
Instance Chain:
self, Tag
Inherits: YARD::Tags::Tag
Defined in: lib/yard/tags/default_tag.rb

Class Method Summary

Tag - Inherited

.new

Creates a new tag object with a tag name and text.

Instance Attribute Summary

Tag - Inherited

Instance Method Summary

Tag - Inherited

#explain_types

Provides a plain English summary of the type specification, or nil if no types are provided or parsable.

#type

Convenience method to access the first type specified.

Constructor Details

.new(tag_name, text, types = nil, name = nil, defaults = nil) ⇒ DefaultTag

[ GitHub ]

  
# File 'lib/yard/tags/default_tag.rb', line 7

def initialize(tag_name, text, types = nil, name = nil, defaults = nil)
  super(tag_name, text, types, name)
  @defaults = defaults
end

Instance Attribute Details

#defaults (readonly)

[ GitHub ]

  
# File 'lib/yard/tags/default_tag.rb', line 5

attr_reader :defaults