Require consumers to implement a process method.
rafl [Tue, 3 Feb 2009 21:30:30 +0000 (21:30 +0000)]
lib/Catalyst/View/ContentNegotiation/XHTML.pm

index 833faa2..13b3671 100644 (file)
@@ -10,6 +10,8 @@ use namespace::clean -except => 'meta';
 # Remember to bump $VERSION in View::TT::XHTML also.
 our $VERSION = '1.100';
 
+requires 'process';
+
 has variants => (
     is      => 'ro',
     isa     => ArrayRef[Tuple[Str, Num, Str]],