Class Chronic::Handler
In: lib/chronic/handler.rb
Parent: Object

Methods

==   invoke   match   new  

Attributes

handler_method  [R] 
pattern  [R] 

Public Class methods

pattern - An Array of patterns to match tokens against. handler_method - A Symbol representing the method to be invoked

  when a pattern matches.

Public Instance methods

other - The other Handler object to compare.

Returns true if these Handlers match.

tokens - An Array of tokens to process. definitions - A Hash of definitions to check against.

Returns true if a match is found.

[Validate]