fix attr ->default method to work like it does for regular attributes. only call...
authorDave Rolsky <autarch@urth.org>
Mon, 6 Jun 2011 05:54:08 +0000 (00:54 -0500)
committerDave Rolsky <autarch@urth.org>
Mon, 6 Jun 2011 05:54:08 +0000 (00:54 -0500)
commite5fa95baab2413d6eea127014ba8fa291ce3ab3e
treed4d8032141271dcaa167c701df641371ae445215
parent37ecf6ad2030c0e39e6123f682d8f7f61f3ef4b4
fix attr ->default method to work like it does for regular attributes. only call the default subref if we receive a parameter.
lib/MooseX/ClassAttribute/Trait/Attribute.pm