diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-06-09 13:32:44 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-06-09 13:32:44 +0200 |
commit | f5c6063e757c3728b84cfd61783a9fd616f09c9a (patch) | |
tree | 239b592bb20af6cab38f8fc9fa8e5ac9054daced /lib | |
parent | 0a6f578f5f4a9e3503541dc6b5b9f1c0cfb9e8e0 (diff) |
add time to literal datatypes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/owl.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -81,6 +81,8 @@ class Redland::Literal return @@type_integer elsif value.is_a?(DateTime) return @@type_datetime + elsif value.is_a?(Time) + return @@type_datetime else raise "illegal datatype: "+value.class.to_s+" "+value.to_s end |