On 23/08/06, Bart Braem <bart.braem / gmail.com> wrote:
> I'd like to be able to do
> class Parent
>         def iamuseful
>         end
> end
> class Child
>         def iamuseful
>                 # do stuff
>                 super.iamuseful
>         end
> end
> But that gives strange results, I seem to be unable to call methods from a
> superclass?
>
> Bart
>
>

class Parent
  def useful(parameters)
    #Do stuff
  end
end
class Child < Parent
  def useful(parameters)
    super(parameters)
    # Do more stuff..
  end
end

Farrel