diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-09-10 20:08:27 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-09-10 20:08:27 -0500 |
commit | da3bdbc05f592ce301d66cb412a413420c29e021 (patch) | |
tree | 7cda70afa27a7770ba16e01650af3f166d565ba8 /TODO | |
parent | cda7c4e67f52a39187e669978c2b7eddfca68811 (diff) | |
download | moosex-methodtraits-da3bdbc05f592ce301d66cb412a413420c29e021.tar.gz moosex-methodtraits-da3bdbc05f592ce301d66cb412a413420c29e021.zip |
add a TODO file for things i want to support
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +Things we want to support: + +- basic applying of traits to methods: + command foo => $code; + should install $code as 'foo' in the current class, with the command trait + applied +- setting attributes in the traits that we apply: + command foo => $code, formatter => $format; + should install $code as 'foo', and set the formatter attribute to $format on + the method metaobject +- passing in things other than coderefs + alias foo => 'bar'; + should be able to look 'bar' up in the current package, and install foo as an + alias to it (potentially with a trait applied) +- applying traits to existing methods + command 'foo'; + should find an existing 'foo' method in the current class, and apply the + command trait to it |