Skip to content

Commit

Permalink
fix context examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 25, 2016
1 parent 49f334f commit 0ee00d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Exception.pm
Expand Up @@ -145,14 +145,14 @@ The line where the exception occurred if available.
=head2 lines_after
my $lines = $e->lines_after;
$e = $e->lines_after([[1 => 'my $foo = 23;'], [2 => 'my $bar = 24;']]);
$e = $e->lines_after([[4 => 'say $foo;'], [5 => 'say $bar;']]);
Lines after the line where the exception occurred if available.
=head2 lines_before
my $lines = $e->lines_before;
$e = $e->lines_before([[4 => 'say $foo;'], [5 => 'say $bar;']]);
$e = $e->lines_before([[1 => 'my $foo = 8;'], [2 => 'my $bar = 9;']]);
Lines before the line where the exception occurred if available.
Expand Down

0 comments on commit 0ee00d5

Please sign in to comment.