view lib/IMPL/Object/Fields.pm @ 415:3d24b10dd0d5 ref20150831

working on IMPL::Config::Container
author cin
date Tue, 20 Oct 2015 07:32:55 +0300
parents c6e90e02dd17
children
line wrap: on
line source

package IMPL::Object::Fields;
use strict;
use warnings;

use parent qw(IMPL::Object::Abstract);

sub new {
    my $class = shift;
    
    $class = ref $class || $class;
    
    my $this = fields::new($class);
    $this->callCTOR(@_);
    
    return $this;
}

sub surrogate {
    my $class = shift;
    
    $class = ref $class || $class;
    
    return fields::new($class);
}

1;