From: Leslie Viljoen Date: 2010-10-01T15:36:21+09:00 Subject: Re: The beauty of Ruby through examples > # Dynamism > > Padawan = Class.new > > class Jedi >  def train(padawan) >    def padawan.control_the_force >      puts "Now i'm ready to become a Jedi!" >    end >  end > end > > skywalker = Padawan.new > yoda = Jedi.new > p skywalker.respond_to? :control_the_force  # => false > > yoda.train skywalker > p skywalker.respond_to? :control_the_force  # => true > skywalker.control_the_force# => Now i'm ready to become a Jedi! Wow, these are fantastic, especially this last one. I don't know if this syntax (def padawan.control_the_force) has always been available but I have long been doing that in a much more complicated way. Please post your full list or your slides when you are finished! So often people ask me "what's so great about Ruby" and I can't put it into just a few sentences!