lib/rake/delphi/envvariables.rb in rake-delphi-0.0.14 vs lib/rake/delphi/envvariables.rb in rake-delphi-0.0.15
- old
+ new
@@ -3,10 +3,10 @@
module Rake
module Delphi
class EnvVariables < ::Hash
def self.delphi_version
- ENV['DELPHI_VERSION']
+ ENV['DELPHI_VERSION'].to_i
end
def initialize(regpath, delphidir)
readreg(regpath)
_dir = delphidir.gsub(/\/$/, '')