Permalink
Browse files

pure_spec_base.rb: avoid 1.9 warning

  • Loading branch information...
1 parent e35c211 commit 73562e56513886cbff661cb828fb815d8b42928e @quix committed Oct 30, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/pure_spec_base.rb
@@ -38,8 +38,8 @@ class << self
names = name.split("::")
worker = Class.new Base do
require path
- @compiler = names.inject(Object) { |mod, name|
- mod.const_get(name)
+ @compiler = names.inject(Object) { |mod, name0|
+ mod.const_get(name0)
}
end
const_set(names.last, worker)

0 comments on commit 73562e5

Please sign in to comment.