Commits

Shlomi Fish committed 24125a5

Refactoring: merge two methods.

  • Participants
  • Parent commits 5ecdb90

Comments (0)

Files changed (1)

File perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Screenplay/FromProto.pm

 =cut
 
 
-sub _handle_text_start
+sub _write_Element_Text
 {
     my ($self, $elem) = @_;
 
     return "para";
 }
 
-sub _write_Element_Text
-{
-    my ($self, $elem) = @_;
-
-    return $self->_handle_text_start($elem);
-}
-
 sub _handle_elem_of_name_img
 {
     my ($self, $elem) = @_;