This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.001-1
in repository libatteanx-compatilibity-trine-perl.

commit 8a3fc7c15b310ef3da605e7dfe2333d85c69a365
Author: Kjetil Kjernsmo <kje...@kjernsmo.net>
Date:   Mon Aug 14 22:34:58 2017 +0200

    all term methods
---
 lib/AtteanX/Compatibility/Trine.pm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/lib/AtteanX/Compatibility/Trine.pm 
b/lib/AtteanX/Compatibility/Trine.pm
index 29229a6..beba863 100644
--- a/lib/AtteanX/Compatibility/Trine.pm
+++ b/lib/AtteanX/Compatibility/Trine.pm
@@ -7,23 +7,22 @@ package AtteanX::Compatibility::Trine;
 use Attean;
 
 package Attean::IRI {
-       sub uri {
-               my $self = shift;
-               return $self->abs;
-       }
+       sub uri { return $_[0]->abs }
 }
 
 package Attean::Blank {
-  sub blank_identifier {
-    my $self = shift;
-    return $self->value;
-  }
-};
+  sub blank_identifier { return $_[0]->value }
+}
 
 package Attean::Literal {
        sub has_datatype { return 1 }
 
-};
+       sub literal_value { return $_[0]->value }
+
+       sub literal_value_language { return $_[0]->language }
+
+       sub literal_datatype { return $_[0]->datatype->as_string }
+}
 
 1;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libatteanx-compatilibity-trine-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to