Skip to content

Commit

Permalink
fixed bm_lookuptable to work under MRI by setting LookupTable=Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Oct 28, 2008
1 parent eb28db0 commit be3ef27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmark/rubinius/bm_lookuptable.rb
Expand Up @@ -14,6 +14,7 @@ def make_symbol
make_string.to_sym
end

LookupTable = Hash unless defined?(LookupTable)
table = LookupTable.new
hash = {}

Expand Down

0 comments on commit be3ef27

Please sign in to comment.