Class Chronic::Token
In: lib/chronic/token.rb
Parent: Object

Methods

get_tag   new   tag   tagged?   to_s   untag  

Attributes

tags  [RW] 
word  [RW] 

Public Class methods

Public Instance methods

tag_class - The tag Class to search for.

Returns The first Tag that matches the given class.

Tag this token with the specified tag.

new_tag - The new Tag object.

Returns nothing.

Returns true if this token has any tags.

Print this Token in a pretty way

Remove all tags of the given class.

tag_class - The tag Class to remove.

Returns nothing.

[Validate]