diff --git a/lib/light-service/context.rb b/lib/light-service/context.rb index 290767b7..63f02905 100644 --- a/lib/light-service/context.rb +++ b/lib/light-service/context.rb @@ -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)