projects
/
scpubgit/DX.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
rewrite deparse system
[scpubgit/DX.git]
/
lib
/
DX
/
Role
/
BooleanValue.pm
diff --git
a/lib/DX/Role/BooleanValue.pm
b/lib/DX/Role/BooleanValue.pm
index
336e545
..
37f3097
100644
(file)
--- a/
lib/DX/Role/BooleanValue.pm
+++ b/
lib/DX/Role/BooleanValue.pm
@@
-4,6
+4,8
@@
use DX::Role;
with 'DX::Role::Value';
+sub for_deparse { [ boolean => $_[0]->is_true ] }
+
requires 'is_true';
1;