Object
|
+--YARD::BaseTag
|
+--YARD::BaseTypeTag
Similar to the BaseTag, this class allows for a tag to formally specify type data if it depends on a specific object type.
types [R]
Create a new object with formally specified types
| Array |
extract_name_and_text(text)
Extracts the name from raw tag text returning the name and remaining value . |
| Array |
extract_types_and_text(text)
Extracts the type signatures from the raw tag text . |
| Public class methods inherited from YARD::BaseTag |
|---|
| tag_library, tag_name, parse_tag, inherited |
|
type
Convenience method to access the first type specified . |
|
| Object |
types
Returns the value of attribute types . |
| Object |
types=(value)
Sets the attribute types . |
| Public instance methods inherited from YARD::BaseTag |
|---|
| text, tag_name, text= |
Extracts the name from raw tag text returning the name and remaining value
Extracts the type signatures from the raw tag text
Convenience method to access the first type specified. This should mainly be used for tags that only specify one type.
Returns the value of attribute types
Sets the attribute types