Commits

Anonymous committed f306239

Refactoring: moved an unused method to the rejects.

And r4567 ! A sequence.

Comments (0)

Files changed (3)

XML-Grammar-Fortune/module/MANIFEST

 MANIFEST
 META.yml
 README
+rejects/ToText.pm
 t/00-load.t
 tag-release.pl
 t/boilerplate.t

XML-Grammar-Fortune/module/lib/XML/Grammar/Fortune/ToText.pm

         );
 }
 
-sub _append_format_node
-{
-    my ($self, $delim, $node) = @_;
-
-    return $self->_append_different_formatting_node($delim, $delim, $node);
-}
-
 {
     my @_highlights = (['/', [qw(em i)]], ['*', [qw(b strong)]]);
 

XML-Grammar-Fortune/module/rejects/ToText.pm

+package rejects::ToText;
+
+use strict;
+use warnings;
+
+sub _append_format_node
+{
+    my ($self, $delim, $node) = @_;
+
+    return $self->_append_different_formatting_node($delim, $delim, $node);
+}
+
+1;
+