Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dpep committed Sep 19, 2023
1 parent 0c2a4ff commit 05f790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/network_resiliency.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def enabled?
end

def enabled=(enabled)
unless [ nil, true, false ].include?(enabled) || enabled.is_a?(Proc)
unless [ true, false ].include?(enabled) || enabled.is_a?(Proc)
raise ArgumentError
end

Expand Down

0 comments on commit 05f790f

Please sign in to comment.