P
Paul
Let's say I have the following module:
------------------------
module Parenting
def add_child(a_child)
self.children.push(a_child)
end
def delete_child(a_child)
self.children.delete(a_child)
end
def children
# need to implement
but is there a programtaic way to declare this?
end
end
------------------------
module Parenting
def add_child(a_child)
self.children.push(a_child)
end
def delete_child(a_child)
self.children.delete(a_child)
end
def children
# need to implement
but is there a programtaic way to declare this?
end
end