HTML::Widgets::NavMenu::ExpandVal - an expand value that differentiates among


HTML-Widgets-NavMenu documentation Contained in the HTML-Widgets-NavMenu distribution.

Index


Code Index:

NAME

Top

HTML::Widgets::NavMenu::ExpandVal - an expand value that differentiates among different expands

For internal use only.

SYNOPSIS

Top

    my $expand_val = HTML::Widgets::NavMenu::ExpandVal->new('capture' => $bool);

FUNCTIONS

Top

my $expand_val = HTML::Widgets::NavMenu::ExpandVal->new('capture' => $bool);

Creates a new object.

$expand_val->is_capturing()

Returns whether or not it is a capturing expansion.

COPYRIGHT & LICENSE

Top


HTML-Widgets-NavMenu documentation Contained in the HTML-Widgets-NavMenu distribution.

package HTML::Widgets::NavMenu::ExpandVal;

use strict;
use warnings;

use base 'HTML::Widgets::NavMenu::Object';

__PACKAGE__->mk_acc_ref([
    qw(_capture)],
    );

sub _init
{
    my ($self, $args) = @_;

    $self->_capture($args->{'capture'});

    return 0;
}

sub is_capturing
{
    my $self = shift;

    return $self->_capture();
}

1;