Changeset 260

Show
Ignore:
Timestamp:
09/06/06 00:40:52 (2 years ago)
Author:
miya
Message:

Rule::Ahead: added sub id { }

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plagger/trunk/lib/Plagger/Rule/Ahead.pm

    r244 r260  
    2323    $self->{now}  = DateTime->now( time_zone => Plagger->context->conf->{timezone} || 'local' ); 
    2424    $self->{then} = $self->{now}->clone->add( seconds => $self->{duration} ); 
     25} 
     26 
     27sub id { 
     28    my $self = shift; 
     29    return 'ahead'; 
    2530} 
    2631