Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

useTrait() #195

Open
phenaproxima opened this issue Jan 27, 2015 · 0 comments
Open

useTrait() #195

phenaproxima opened this issue Jan 27, 2015 · 0 comments

Comments

@phenaproxima
Copy link
Collaborator

Let's add a method to ClassNode and TraitNode which will allow the node to import a trait. useTrait() should accept a string (name of the trait), a TraitNode, or a NameNode, and return the affected class/trait node.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant