class Chronic::Tag
:nodoc:
they match specific criteria
Tokens are tagged with subclassed instances of this class when
def initialize(type)
def initialize(type) @type = type end
def scan_for(token, klass, items={})
def scan_for(token, klass, items={}) items.each do |item, symbol| return klass.new(symbol) if item =~ token.word end nil end
def start=(s)
def start=(s) @now = s end