Tidy delegation routine
[gitmo/Mouse.git] / lib / Mouse / Meta / Attribute.pm
index cc43a37..b4511d0 100644 (file)
@@ -375,10 +375,7 @@ sub _make_delegation_method {
     my $delegator = $self->delegation_metaclass;
     Mouse::Util::load_class($delegator);
 
-    return $delegator->_generate_delegation($self, $handle,
-        ref($method_to_call) eq 'ARRAY'
-            ? @{$method_to_call}
-            :   $method_to_call);
+    return $delegator->_generate_delegation($self, $handle, $method_to_call);
 }
 
 sub throw_error{