summaryrefslogtreecommitdiff
path: root/lib/Net/XRC/Data/boolean.pm
blob: 7587cf10b0e1fe3e49c9cdf87781aaca965b5489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package Net::XRC::Data::boolean;

use strict;
use vars qw(@ISA);
use Net::XRC::Data;

@ISA = qw(Net::XRC::Data);

sub encode {
  my $self = shift;
  $$self ? '/T' : '/F';
}