when creating a sub project, extend it with the parent's methods
----------------------------------------------------------------

                 Key: BUILDR-184
                 URL: https://issues.apache.org/jira/browse/BUILDR-184
             Project: Buildr
          Issue Type: Wish
    Affects Versions: 1.3.2
            Reporter: Ittay Dror


sometimes it is required to override methods in Project. my use case is that 
I'd like to override 'id' from package

i think it would be nice if i could do:
define 'base'
   def id 
      ...
   end
   define 'sub'
   end
end

so that 'sub' inherits the redifinition of id.

it will also have benefits for utility methods since it means i can just call 
it directly, not through 'parent' (or parent.parent in case of more level of 
nesting)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to