Skip to content

Commit

Permalink
Add code to pass object methods too
Browse files Browse the repository at this point in the history
  • Loading branch information
jawnsy committed Dec 3, 2009
1 parent 254ae92 commit a93c9fe
Showing 1 changed file with 120 additions and 0 deletions.
120 changes: 120 additions & 0 deletions lib/Algorithm/Diff/Any.pm
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,126 @@ sub new {
return $self;
}

=head2 $diff->Next( $count )
See L<Algorithm::Diff> for method documentation.
=cut

sub Next {
shift->{backend}->Next(@_);
}

=head2 $diff->Prev( $count )
See L<Algorithm::Diff> for method documentation.
=cut

sub Prev {
shift->{backend}->Prev(@_);
}

=head2 $diff->Reset( $pos )
See L<Algorithm::Diff> for method documentation.
=cut

sub Reset {
shift->{backend}->Reset(@_);
}

=head2 $diff->Copy( $pos, $newBase )
See L<Algorithm::Diff> for method documentation.
=cut

sub Copy {
shift->{backend}->Copy(@_);
}

=head2 $diff->Base( $newBase )
See L<Algorithm::Diff> for method documentation.
=cut

sub Base {
shift->{backend}->Base(@_);
}

=head2 $diff->Diff( )
See L<Algorithm::Diff> for method documentation.
=cut

sub Diff {
shift->{backend}->Diff(@_);
}

=head2 $diff->Same( )
See L<Algorithm::Diff> for method documentation.
=cut

sub Same {
shift->{backend}->Same(@_);
}

=head2 $diff->Items( $seqNum )
See L<Algorithm::Diff> for method documentation.
=cut

sub Items {
shift->{backend}->Items(@_);
}

=head2 $diff->Range( $seqNum, $base )
See L<Algorithm::Diff> for method documentation.
=cut

sub Range {
shift->{backend}->Range(@_);
}

=head2 $diff->Min( $seqNum, $base )
See L<Algorithm::Diff> for method documentation.
=cut

sub Min {
shift->{backend}->Min(@_);
}

=head2 $diff->Max( $seqNum, $base )
See L<Algorithm::Diff> for method documentation.
=cut

sub Max {
shift->{backend}->Max(@_);
}

=head2 $diff->Get( @names )
See L<Algorithm::Diff> for method documentation.
=cut

sub Get {
shift->{backend}->Get(@_);
}

=head1 AUTHOR
Jonathan Yu E<lt>jawnsy@cpan.orgE<gt>
Expand Down

0 comments on commit a93c9fe

Please sign in to comment.