Skip to content

Commit

Permalink
pure_spec_base.rb: avoid 1.9 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
quix committed Oct 30, 2009
1 parent e35c211 commit 73562e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/pure_spec_base.rb
Expand Up @@ -38,8 +38,8 @@ class << self
names = name.split("::") names = name.split("::")
worker = Class.new Base do worker = Class.new Base do
require path require path
@compiler = names.inject(Object) { |mod, name| @compiler = names.inject(Object) { |mod, name0|
mod.const_get(name) mod.const_get(name0)
} }
end end
const_set(names.last, worker) const_set(names.last, worker)
Expand Down

0 comments on commit 73562e5

Please sign in to comment.