description => 'Optional read-only value'
};
- my $spec = $autodoc->attribute_info($attributes{attr1});
+ my $spec = $autodoc->_attribute_info($attributes{attr1});
is_deeply($spec, $target);
}
description => 'Optional read-write value of type L<HashRef|Moose::Util::TypeConstraints>'
};
- my $spec = $autodoc->attribute_info($attributes{attr2});
+ my $spec = $autodoc->_attribute_info($attributes{attr2});
is_deeply($spec, $target);
}
'description' => 'Optional read-write value of type L<ArrayRef[Str]|Moose::Util::TypeConstraints>'
};
- my $spec = $autodoc->attribute_info($attributes{attr3});
+ my $spec = $autodoc->_attribute_info($attributes{attr3});
is_deeply($spec, $target);
}
'description' => 'Required read-write value of type L<ArrayRef[Str]|Moose::Util::TypeConstraints>'
};
- my $spec = $autodoc->attribute_info($attributes{attr4});
+ my $spec = $autodoc->_attribute_info($attributes{attr4});
is_deeply($spec, $target);
}
'description' => 'Required read-write value of type L<ArrayRef[Str]|Moose::Util::TypeConstraints> that will be automatically dereferenced by the reader / accessor'
};
- my $spec = $autodoc->attribute_info($attributes{attr5});
+ my $spec = $autodoc->_attribute_info($attributes{attr5});
is_deeply($spec, $target);
}
'clearer' => 'clear_attr6'
},
'name' => 'attr6',
- 'description' => 'Required read-write lazy-building value'
+ 'description' => 'Optional read-write lazy-building value'
};
- my $spec = $autodoc->attribute_info($attributes{attr6});
+ my $spec = $autodoc->_attribute_info($attributes{attr6});
is_deeply($spec, $target);
}
'description' => 'Optional value'
};
- my $spec = $autodoc->attribute_info($attributes{attr7});
+ my $spec = $autodoc->_attribute_info($attributes{attr7});
is_deeply($spec, $target);
}