Skip to content

Commit

Permalink
patch for eliminating Ruby 1.9 warnings. Thank, George MacKerron (htt…
Browse files Browse the repository at this point in the history
  • Loading branch information
raganwald committed Aug 16, 2009
1 parent 6ef969c commit 83da297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/andand.rb
Expand Up @@ -98,8 +98,8 @@ class Object
include AndAnd::ObjectGoodies
end

unless Module.constants.include?('BlankSlate')
if Module.constants.include?('BasicObject')
unless Module.constants.map { |c| c.to_s }.include?('BlankSlate')
if Module.constants.map { |c| c.to_s }.include?('BasicObject')
module AndAnd
class BlankSlate < BasicObject
end
Expand Down

0 comments on commit 83da297

Please sign in to comment.