File: Node.pm

package info (click to toggle)
libtext-trac-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 364 kB
  • ctags: 257
  • sloc: perl: 2,971; makefile: 2
file content (23 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package Text::Trac::Node;
use strict;
use base qw( Class::Accessor::Fast );

our $VERSION = '0.16';

sub init {
    my $self = shift;
    $self->{pattern} = '';
}

sub parse { die; }

sub html { $_[0]->{html}; }
sub pattern { $_[0]->{pattern}; }

sub context {
    my $self = shift;
    $self->{context} = $_[0] if $_[0];
    $self->{context};
}

1;