Class | AlienTagList
In: | alientaglist.rb
Parent: | Array

Takes a string returned from a Taglist function call and builds an array of tags.

### Methods

add_tag filter filter! new string_to_taglist

### Public Class methods

new(taglist_string="")

### Public Instance methods

add_tag(t)

Adds an AlienTag to the list.

filter(filter)

A little regular expression scanner. Looks at the list of tags and returns a new taglist containing those tag IDs that match a regular expression filter.

filter!(filter)

A self-modifying version of filter_taglist. Excercise caution. Elements in the taglist array that do not match the regular expression are deleted.

string_to_taglist(taglist_string)

Takes a taglist string from a reader and appends it to the array.

[Validate]