My output looks like this: ---- Define MyOwnRubyClass with method that yields the passed block ---- Define my_own_ruby_method with two parameters ---- Create an instance of MyOwnRubyClass ---- First call of my_own_ruby_method The value of Time.now is 2009-04-10 08:12:20 -0700 1 kraM adiemlA 2 kraM adiemlA 3 kraM adiemlA 4 kraM adiemlA ---- Second call of my_own_ruby_method The value of Time.now is 2009-04-10 08:12:20 -0700 1 first value = 4, second value = 7, addition value = 11 2 first value = 4, second value = 7, addition value = 11 3 first value = 4, second value = 7, addition value = 11 4 first value = 4, second value = 7, addition value = 11
What does your my_own_ruby_method look like? Did you include a "puts" of the value of Time.now? Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ruby-on-rails-programming-with-passion" group. To unsubscribe from this group, send email to ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
