diff --git a/lib/switch_point/config.rb b/lib/switch_point/config.rb index c6e70b7..a11f3fd 100644 --- a/lib/switch_point/config.rb +++ b/lib/switch_point/config.rb @@ -36,6 +36,10 @@ def keys switch_points.keys end + def each_key(&block) + switch_points.each_key(&block) + end + private def assert_valid_config!(config)