[Rt-commit] r5591 - in Object-Declare: lib/Object
audreyt at bestpractical.com
audreyt at bestpractical.com
Mon Jul 17 19:37:03 EDT 2006
Author: audreyt
Date: Mon Jul 17 19:37:02 2006
New Revision: 5591
Modified:
Object-Declare/Changes
Object-Declare/README
Object-Declare/lib/Object/Declare.pm
Log:
* This be 0.02.
Modified: Object-Declare/Changes
==============================================================================
--- Object-Declare/Changes (original)
+++ Object-Declare/Changes Mon Jul 17 19:37:02 2006
@@ -1,3 +1,7 @@
+[Changes for 0.02 - 2006-07-17]
+
+* Documentation cleanup; no functional changes.
+
[Changes for 0.01 - 2006-07-17]
* Initial CPAN release.
Modified: Object-Declare/README
==============================================================================
--- Object-Declare/README (original)
+++ Object-Declare/README Mon Jul 17 19:37:02 2006
@@ -1,16 +1,19 @@
NAME
- Object::Declare - Declare object constructor
+ Object::Declare - Declarative object constructor
SYNOPSIS
use Object::Declare ['MyApp::Column', 'MyApp::Param'];
my $objects = declare {
- param 'foo' =>
- is immutable,
- valid_values are qw( more values );
- column 'bar' =>
- field1 is 'value',
- field2 is 'some_other_value';
+
+ param foo =>
+ is immutable,
+ valid_values are qw( more values );
+
+ column bar =>
+ field1 is 'value',
+ field2 is 'some_other_value';
+
};
print $objects->{foo}; # a MyApp::Param object
@@ -18,10 +21,10 @@
DESCRIPTION
This module exports one function, "declare", for building named objects
- with a declare syntax, similar to how Jifty::DBI::Schema defines its
+ with a declarative syntax, similar to how Jifty::DBI::Schema defines its
columns.
- Using a flexible import list syntax, one can change exported helper
+ Using a flexible "import" interface, one can change exported helper
functions names (*declarator*), words to link labels and values together
(*copula*), and the table of named classes to declare (*mapping*):
Modified: Object-Declare/lib/Object/Declare.pm
==============================================================================
--- Object-Declare/lib/Object/Declare.pm (original)
+++ Object-Declare/lib/Object/Declare.pm Mon Jul 17 19:37:02 2006
@@ -109,7 +109,7 @@
=head1 NAME
-Object::Declare - Declare object constructor
+Object::Declare - Declarative object constructor
=head1 SYNOPSIS
@@ -133,10 +133,10 @@
=head1 DESCRIPTION
This module exports one function, C<declare>, for building named
-objects with a declare syntax, similar to how L<Jifty::DBI::Schema>
+objects with a declarative syntax, similar to how L<Jifty::DBI::Schema>
defines its columns.
-Using a flexible import list syntax, one can change exported helper
+Using a flexible C<import> interface, one can change exported helper
functions names (I<declarator>), words to link labels and values together
(I<copula>), and the table of named classes to declare (I<mapping>):
More information about the Rt-commit
mailing list