Sha256: 7189c0abb783d15529ec45c0c914e61e12a3717f48374afbd34774fd30369cc3

Contents?: true

Size: 431 Bytes

Versions: 7

Compression:

Stored size: 431 Bytes

Contents

# Facets' old BasicObject has been replaced totally replaced by 
# Jim Weirich's BlankSlate. Since Ruby 1.9 has a BasicObject class
# this  will of course be deprecated when 1.9 goes mainstream.

unless defined? ::BasicObject  # just in case it already exists!

  require 'facets/blankslate'

  # ActiveSupport compatiable version of BasicObject
  # if not Ruby 1.9+ uses Jim Weirich's BlankSlate.
  BasicObject = BlankSlate

end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
facets-2.6.0 lib/lore/facets/basicobject.rb
facets-2.4.4 lib/lore/facets/basicobject.rb
facets-2.4.5 lib/lore/facets/basicobject.rb
facets-2.5.0 lib/lore/facets/basicobject.rb
facets-2.5.1 lib/lore/facets/basicobject.rb
facets-2.5.2 lib/lore/facets/basicobject.rb
mack-facets-0.8.2 lib/gems/facets-2.4.5/lib/lore/facets/basicobject.rb