view Lib/IMPL/Object/Fields.pm @ 193:8e8401c0aea4

sync
author sergey
date Tue, 10 Apr 2012 08:13:22 +0400
parents d1676be8afcc
children 4d0e1962161c
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;