Fix error when no arguments are passed to Hash's accessor method
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Hash / accessor.pm
index f519b2b..9713a85 100644 (file)
@@ -75,7 +75,7 @@ sub _generate_method {
 }
 
 # If we get one argument we won't check the argument count
-sub _minimum_arguments {2}
+sub _minimum_arguments {1}
 sub _maximum_arguments {2}
 
 no Moose::Role;