adding to changelog and changing versions
[gitmo/Class-MOP.git] / lib / Class / MOP / Instance.pm
index 458b084..a19b4cb 100644 (file)
@@ -6,7 +6,7 @@ use warnings;
 
 use Scalar::Util 'weaken', 'blessed';
 
-our $VERSION   = '0.03';
+our $VERSION   = '0.04';
 our $AUTHORITY = 'cpan:STEVAN';
 
 sub meta {
@@ -122,20 +122,6 @@ sub rebless_instance_structure {
     bless $instance, $metaclass->name;
 }
 
-sub get_all_slot_values {
-    my ($self, $instance) = @_;
-    my $class = $self->associated_metaclass;
-    my %map;
-
-    for my $attr ($class->compute_all_applicable_attributes) {
-        my $name = $attr->name;
-        $map{$name} = $self->get_slot_value($instance, $name)
-            if $self->is_slot_initialized($instance, $name);
-    }
-
-    return \%map;
-}
-
 # inlinable operation snippets
 
 sub is_inlinable { 1 }
@@ -288,8 +274,6 @@ require that the C<$instance_structure> is passed into them.
 
 =item B<set_slot_value ($instance_structure, $slot_name, $value)>
 
-=item B<get_all_slot_values ($instance_structure)>
-
 =item B<initialize_slot ($instance_structure, $slot_name)>
 
 =item B<deinitialize_slot ($instance_structure, $slot_name)>