Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source
Show
Ignore:
Timestamp:
03/26/08 12:27:52 (7 months ago)
Author:
pratik
Message:

Improve documentation.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/lib/active_support/basic_object.rb

    r8523 r9093  
    1 # Ruby 1.9 introduces BasicObject which differs slighly from Builder's BlankSlate 
    2 # that had been used so far ActiveSupport::BasicObject provides a barebones object with 
    3 # the same method on both versions. 
     1# A base class with no predefined methods that tries to behave like Builder's 
     2# BlankSlate in Ruby 1.9. In Ruby pre-1.9, this is actually the 
     3# Builder::BlankSlate class. 
     4
     5# Ruby 1.9 introduces BasicObject which differs slightly from Builder's 
     6# BlankSlate that has been used so far. ActiveSupport::BasicObject provides a 
     7# barebones base class that emulates Builder::BlankSlate while still relying on 
     8# Ruby 1.9's BasicObject in Ruby 1.9. 
    49module ActiveSupport 
    510  if RUBY_VERSION >= '1.9'