aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/Manual
diff options
context:
space:
mode:
authorrafl <rafl@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-08-18 13:21:50 +0000
committerrafl <rafl@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-08-18 13:21:50 +0000
commit2b14a13672d8b2f1707fc7225039e75c6d103f8d (patch)
tree20fb248862c180c603a0c5c7776a60736dd42c95 /lib/Reaction/Manual
parent8bb1255dd06cee46e01d9cd733aff1ec10ca205c (diff)
downloadreaction-2b14a13672d8b2f1707fc7225039e75c6d103f8d.tar.gz
reaction-2b14a13672d8b2f1707fc7225039e75c6d103f8d.zip
Make the intro use Moose instead of class.
Diffstat (limited to 'lib/Reaction/Manual')
-rw-r--r--lib/Reaction/Manual/Intro.pod9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/Reaction/Manual/Intro.pod b/lib/Reaction/Manual/Intro.pod
index 9ea0974..2e60672 100644
--- a/lib/Reaction/Manual/Intro.pod
+++ b/lib/Reaction/Manual/Intro.pod
@@ -110,12 +110,9 @@ Then you create a MyApp::Model that uses this InferfaceModel:
package Myapp::Model::IM;
-
use Reaction::Class;
- class IM is 'Catalyst::Model::Reaction::InterfaceModel::DBIC', which {
-
- };
+ extends 'Catalyst::Model::Reaction::InterfaceModel::DBIC';
1;
@@ -167,9 +164,7 @@ One of the views in your application should look something like this:
use Reaction::Class;
- class TT is 'Reaction::UI::View::TT', which {
-
- };
+ extends 'Reaction::UI::View::TT';
1;