Skip to content

Commit

Permalink
Merge pull request #330 from langsharpe/constant_nil_is_deprecated
Browse files Browse the repository at this point in the history
Replace NIL with Nil to fix ruby 2.4 deprecation warning
  • Loading branch information
tocker committed Dec 21, 2018
2 parents 25df5fd + 32a2f67 commit 5efe1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cloudinary/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ def self.process_video_params(param)

def self.process_custom_pre_function(param)
value = process_custom_function(param)
value ? "pre:#{value}" : NIL
value ? "pre:#{value}" : nil
end

def self.process_custom_function(param)
Expand Down

0 comments on commit 5efe1b5

Please sign in to comment.