Group
Extension

Spreadsheet-Template/lib/Spreadsheet/Template/Processor/Identity.pm

package Spreadsheet::Template::Processor::Identity;
our $AUTHORITY = 'cpan:DOY';
$Spreadsheet::Template::Processor::Identity::VERSION = '0.05';
use Moose;
# ABSTRACT: render a template file with no processing at all

with 'Spreadsheet::Template::Processor';


sub process {
    my $self = shift;
    my ($contents, $vars) = @_;
    return $contents;
}

__PACKAGE__->meta->make_immutable;
no Moose;


1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Spreadsheet::Template::Processor::Identity - render a template file with no processing at all

=head1 VERSION

version 0.05

=head1 SYNOPSIS

  my $template = Spreadsheet::Template->new(
      processor_class => 'Spreadsheet::Template::Processor::Identity',
  );

=head1 DESCRIPTION

This class implements L<Spreadsheet::Template::Processor>, and just passes
through the JSON data without modification.

=for Pod::Coverage   process

=head1 AUTHOR

Jesse Luehrs <doy@tozt.net>

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License

=cut


Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.