Skip to content

Commit

Permalink
Don't use blank? when empty? works
Browse files Browse the repository at this point in the history
  • Loading branch information
adomokos committed Nov 9, 2024
1 parent 8f9c8d3 commit 5047cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/light-service/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def stop_processing?
end

def define_accessor_methods_for_keys(keys)
return if keys.blank?
return if keys.empty?

Array(keys).each do |key|
next if respond_to?(key.to_sym)
Expand Down

0 comments on commit 5047cfe

Please sign in to comment.