From: Dave Rolsky Date: Thu, 17 Jun 2010 19:59:23 +0000 (-0500) Subject: Formatting fixes for some code examples X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b24100035035acc3bb86df2c45a2463d09bf3cf;p=gitmo%2Fmoose-presentations.git Formatting fixes for some code examples --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index 427e9b1..e1e3350 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -2762,7 +2762,7 @@ class_type 'DateTime';
-
subtype 'DateTime',
+
subtype     'DateTime',
     as      'Object',
     where   { $_->isa('DateTime') },
     message { ... };
@@ -2777,7 +2777,7 @@ role_type 'Printable';

subtype 'Printable',
-    as      'Object',
+    as  'Object',
     where
         { Moose::Util::does_role(
               $_, 'Printable' ) },
@@ -2810,7 +2810,7 @@ enum Color => qw( red blue green ) );
my %ok = map { $_ => 1 }
              qw( red blue green );
 
-subtype 'Color'
+subtype     'Color'
     as      'Str',
     where   { $ok{$_} },
     message { ... };