There is a slight difference though. In the example: puts NewSquare.new.get_number_of_sizes # => 99 puts NewSquare.new.GetNumberOfSizes # => 4
If I change the example to a regular method (not sealed), the output is slightly different: puts NewSquare.new.get_number_of_sizes # => 99 puts NewSquare.new.GetNumberOfSizes # => 99 Thanks, Shay. ---------------------------- Shay Friedman http://www.ironshay.com Follow me: http://twitter.com/ironshay -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
