Changes between Version 2 and Version 3 of SummaryRuby


Ignore:
Timestamp:
Jan 14, 2014, 9:00:05 AM (11 years ago)
Author:
Thanatermesis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummaryRuby

    v2 v3  
    3333        # whole, not by the instance of the objects, useful for store
    3434        # information relevant to all objects of the same class
     35        #
     36        # WARNING: there's an important side-effect behaviour important to consider: http://www.railstips.org/blog/archives/2006/11/18/class-and-instance-variables-in-ruby/
    3537        if defined?(@@number_of_squares)
    3638            # variable already exists for all objects when the first one is created