Jerome Eteve > Context-Set-0.02 > Context::Set::Restriction

Download:
Context-Set-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Context::Set::Restriction - A restriction of a Context.

SYNOPSYS

   $general->has_property('a'); # General has 'a'

   my $restriction = $general->restrict('specialized');

   $restriction->has_property('a'); # The restriction inherits from the properties of general.

   $restriction->set_property('b', 'value');
   $restriction->has_property('b'); # ONLY the restriction has property b.

fullname

See superclass.

is_inside

See superclass

has_property

See superclass Context.

get_property

See Super Class.

syntax highlighting: