Skip to content

Commit

Permalink
Merge pull request #337 from linyunjiang/master
Browse files Browse the repository at this point in the history
Fix NameError: uninitialized constant Roo::Base::TEMP_PREFIX
  • Loading branch information
stevendaniels committed Aug 27, 2016
2 parents ac4e681 + 2150f7b commit 3794b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roo/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def find_basename(filename)

def make_tmpdir(prefix = nil, root = nil, &block)
warn '[DEPRECATION] extend Roo::Tempdir and use its .make_tempdir instead'
prefix = "#{TEMP_PREFIX}#{prefix}"
prefix = "#{Roo::TEMP_PREFIX}#{prefix}"
root ||= ENV['ROO_TMP']

if block_given?
Expand Down

0 comments on commit 3794b19

Please sign in to comment.