diff lib/IMPL/Config/ValueDescriptor.pm @ 422:b0481c071bea ref20150831

IMPL::Config::Container tests, YAMLConfiguration now works and tested
author cin
date Sun, 20 Aug 2017 00:20:41 +0300
parents 7798345304bc
children
line wrap: on
line diff
--- a/lib/IMPL/Config/ValueDescriptor.pm	Sun Jul 16 22:59:39 2017 +0300
+++ b/lib/IMPL/Config/ValueDescriptor.pm	Sun Aug 20 00:20:41 2017 +0300
@@ -29,12 +29,7 @@
     my ( $this, $context ) = @_;
     return $this->value if $this->raw;
 
-    my $services = $this->services;
-
-    $context->EnterScope( '$value: ' . $this->value, $services ) if $services;
-    my $value = $this->_ActivateValue( $this->value, $context );
-    $context->LeaveScope() if $services;
-    return $value;
+    return $this->_ActivateValue( $this->value, $context );
 }
 
 sub _ActivateValue {
@@ -57,4 +52,8 @@
     }
 }
 
+sub GetName {
+    return '$value: ' . shift->value;
+}
+
 1;