NAME

MOSES::MOBY::Data::Boolean - A primite Moby data type for booleans

SYNOPSIS

 use MOSES::MOBY::Data::Boolean;

 # create a Moby Boolean with initial value of true
 my $data = MOSES::MOBY::Data::Boolean->new ( value=>'true' );
 my $data = MOSES::MOBY::Data::Boolean->new ('true');
 
 # change the value to false
 $data->value ('false');

 # get the value
 print $data->value;
  
 # create a Moby Integer with initial value of -15
 my $data = MOSES::MOBY::Data::Integer->new (value => -15);

DESCRIPTION

An object representing a Boolan, a Moby primitive data type.

AUTHORS

 Edward Kawas (edward.kawas [at] gmail [dot] com)
 Martin Senger (martin.senger [at] gmail [dot] com)

ACCESSIBLE ATTRIBUTES

Details are in MOSES::MOBY::Base. Here just a list of them (additionally to the attributes from the parent classes)

value

A value of this datatype. Must be a boolean.