refactor GraphML write/parse to use Moose introspection
[scpubgit/stemmatology.git] / lib / Text / Tradition.pm
index a5c5a41..0bbc76b 100644 (file)
@@ -7,7 +7,7 @@ use Text::Tradition::Stemma;
 use Text::Tradition::Witness;
 
 use vars qw( $VERSION );
-$VERSION = "0.1";
+$VERSION = "0.3";
 
 has 'collation' => (
     is => 'ro',
@@ -34,6 +34,11 @@ has 'name' => (
     default => 'Tradition',
     );
     
+has 'language' => (
+       is => 'rw',
+       isa => 'Str',
+       );
+    
 has 'stemmata' => (
        traits => ['Array'],
        isa => 'ArrayRef[Text::Tradition::Stemma]',