Skip to content

Commit

Permalink
Properly check if csv engine is initialized without throwing error.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgb committed Aug 2, 2012
1 parent 7773d48 commit 63c8f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tilt/csv.rb
Expand Up @@ -8,9 +8,9 @@ def self.engine_initialized?

def self.engine
if RUBY_VERSION >= '1.9.0'
::CSV
defined? ::CSV
else
::FasterCSV
defined? ::FasterCSV
end
end

Expand Down

0 comments on commit 63c8f45

Please sign in to comment.