lib/more/facets/blankslate.rb in facets-2.7.0 vs lib/more/facets/blankslate.rb in facets-2.8.0

- old
+ new

@@ -1,2 +1,10 @@ warn "Use BasicObject instead of BlankSlate for future versions." require 'facets/basicobject' + + +unless defined? BlankSlate + # ActiveSupport compatiable version of BasicObject + # if not Ruby 1.9+ uses Jim Weirich's BlankSlate. + BlankSlate = ::BasicObject +end +