Make WebGUI::Definition property methods work the same way that Moose attribute methods do.
Specifically, get_property_list does not return property names from all classes. Add a new method to do that. Refactor and reuse lots of code.
This commit is contained in:
parent
49992dddb9
commit
ed752a25c3
2 changed files with 43 additions and 19 deletions
|
|
@ -143,7 +143,7 @@ Returns a list of the names of all properties of the object, as set by the Defin
|
|||
|
||||
sub getProperties {
|
||||
my $self = shift;
|
||||
return $self->meta->get_property_list;
|
||||
return $self->meta->get_all_property_list;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue